changeset 11822:cd20599f220b

[gaim-migrate @ 14113] Jabber bugfix. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Tue, 25 Oct 2005 22:11:52 +0000
parents 7e24c780a5c2
children 27ed05facc71
files src/protocols/jabber/iq.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/iq.c	Tue Oct 25 22:02:46 2005 +0000
+++ b/src/protocols/jabber/iq.c	Tue Oct 25 22:11:52 2005 +0000
@@ -327,6 +327,7 @@
 		xmlnode_free(iq->node);
 		iq->node = xmlnode_copy(packet);
 		xmlnode_set_attrib(iq->node, "to", from);
+		xmlnode_remove_attrib(node, "from");	
 		xmlnode_set_attrib(iq->node, "type", "error");
 		error = xmlnode_new_child(iq->node, "error");
 		xmlnode_set_attrib(error, "type", "cancel");