diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/xmpp/stanza.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/xmpp/stanza.c b/src/xmpp/stanza.c index 68373a3d..96a99960 100644 --- a/src/xmpp/stanza.c +++ b/src/xmpp/stanza.c @@ -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* |