mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Fixed workaround for old server self room presence check
This commit is contained in:
parent
2cdd1b3810
commit
db15494e22
@ -278,6 +278,7 @@ stanza_is_muc_self_presence(xmpp_stanza_t * const stanza,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// for older server that don't send status 110
|
// for older server that don't send status 110
|
||||||
|
x_children = xmpp_stanza_get_children(x);
|
||||||
while (x_children != NULL) {
|
while (x_children != NULL) {
|
||||||
if (strcmp(xmpp_stanza_get_name(x_children), STANZA_NAME_ITEM) == 0) {
|
if (strcmp(xmpp_stanza_get_name(x_children), STANZA_NAME_ITEM) == 0) {
|
||||||
char *jid = xmpp_stanza_get_attribute(x_children, STANZA_ATTR_JID);
|
char *jid = xmpp_stanza_get_attribute(x_children, STANZA_ATTR_JID);
|
||||||
|
Loading…
Reference in New Issue
Block a user