Skip to content

Commit 8c076ac

Browse files
committed
stanza: remove attribute xmlns in xmpp_stanza_reply()
1 parent 7c68ace commit 8c076ac

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/stanza.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1186,6 +1186,7 @@ xmpp_stanza_t *xmpp_stanza_reply(xmpp_stanza_t *const stanza)
11861186

11871187
xmpp_stanza_del_attribute(copy, "to");
11881188
xmpp_stanza_del_attribute(copy, "from");
1189+
xmpp_stanza_del_attribute(copy, "xmlns");
11891190
rc = xmpp_stanza_set_to(copy, from);
11901191
if (rc != XMPP_EOK)
11911192
goto copy_error;

0 commit comments

Comments
 (0)