Handle room broadcasts

This commit is contained in:
James Booth
2012-11-19 22:15:53 +00:00
parent db15494e22
commit b3e1d473a2
7 changed files with 67 additions and 9 deletions

View File

@@ -153,6 +153,13 @@ room_get_room_from_full_jid(const char * const full_room_jid)
}
}
gboolean
room_from_jid_is_room(const char * const room_jid)
{
gchar *result = g_strrstr(room_jid, "/");
return (result == NULL);
}
char *
room_get_nick_from_full_jid(const char * const full_room_jid)
{