1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

Fixed workaround for old server self room presence check

This commit is contained in:
James Booth 2012-11-19 21:25:00 +00:00
parent 2cdd1b3810
commit db15494e22

View File

@ -278,6 +278,7 @@ stanza_is_muc_self_presence(xmpp_stanza_t * const stanza,
}
// for older server that don't send status 110
x_children = xmpp_stanza_get_children(x);
while (x_children != NULL) {
if (strcmp(xmpp_stanza_get_name(x_children), STANZA_NAME_ITEM) == 0) {
char *jid = xmpp_stanza_get_attribute(x_children, STANZA_ATTR_JID);