From 8c076ac9696b759967b2c0922935408e8ffca9d1 Mon Sep 17 00:00:00 2001 From: Dmitry Podgorny Date: Tue, 15 Sep 2020 02:21:18 +0300 Subject: [PATCH] stanza: remove attribute xmlns in xmpp_stanza_reply() --- src/stanza.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stanza.c b/src/stanza.c index 397582e..e18116c 100644 --- a/src/stanza.c +++ b/src/stanza.c @@ -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;