mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
stanza: simplify stanza_get_muc_destroy_alternative_room
This commit is contained in:
parent
caa2c7afd0
commit
d23c3dd065
@ -1507,11 +1507,8 @@ stanza_get_muc_destroy_alternative_room(xmpp_stanza_t* stanza)
|
||||
}
|
||||
|
||||
const char* jid = xmpp_stanza_get_attribute(destroy, STANZA_ATTR_JID);
|
||||
if (jid) {
|
||||
return jid;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
return jid;
|
||||
}
|
||||
|
||||
char*
|
||||
|
Loading…
Reference in New Issue
Block a user