stanza: remove attribute xmlns in xmpp_stanza_reply()

This commit is contained in:
Dmitry Podgorny
2020-09-15 02:21:18 +03:00
parent 7c68aced35
commit 8c076ac969

View File

@@ -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, "from");
xmpp_stanza_del_attribute(copy, "xmlns");
rc = xmpp_stanza_set_to(copy, from);
if (rc != XMPP_EOK)
goto copy_error;