mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 18:06:22 +00:00
stanza: simplify stanza_get_muc_destroy_alternative_room
This commit is contained in:
@@ -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*
|
||||
|
||||
Reference in New Issue
Block a user