Removed jid_is_room()

This commit is contained in:
James Booth
2013-01-13 18:06:29 +00:00
parent b768296a93
commit d87c20e666
3 changed files with 1 additions and 13 deletions

View File

@@ -178,17 +178,6 @@ create_full_room_jid(const char * const room, const char * const nick)
return result;
}
/*
* Returns TRUE if the JID is a room JID
* The test is that the passed JID does not contain a "/"
*/
gboolean
jid_is_room(const char * const room_jid)
{
gchar *result = g_strrstr(room_jid, "/");
return (result == NULL);
}
/*
* Get the room name part of the full JID, e.g.
* Full JID = "test@conference.server/person"