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

stanza: simplify stanza_get_muc_destroy_alternative_room

This commit is contained in:
Michael Vetter 2021-03-25 15:59:48 +01:00
parent caa2c7afd0
commit d23c3dd065

View File

@ -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*