stanza: remove attribute xmlns in xmpp_stanza_reply()
This commit is contained in:
@@ -1186,6 +1186,7 @@ xmpp_stanza_t *xmpp_stanza_reply(xmpp_stanza_t *const stanza)
|
|||||||
|
|
||||||
xmpp_stanza_del_attribute(copy, "to");
|
xmpp_stanza_del_attribute(copy, "to");
|
||||||
xmpp_stanza_del_attribute(copy, "from");
|
xmpp_stanza_del_attribute(copy, "from");
|
||||||
|
xmpp_stanza_del_attribute(copy, "xmlns");
|
||||||
rc = xmpp_stanza_set_to(copy, from);
|
rc = xmpp_stanza_set_to(copy, from);
|
||||||
if (rc != XMPP_EOK)
|
if (rc != XMPP_EOK)
|
||||||
goto copy_error;
|
goto copy_error;
|
||||||
|
|||||||
Reference in New Issue
Block a user