pidgin: bc4d5b2d: No, I had that right the first time; if ...

darkrain42 at darkrain42 at
Tue May 26 23:55:22 EDT 2009

Revision: bc4d5b2d0dbb14b87a8d6173af2fb4ae358978ba
Ancestor: 5fbf84659941fddbd3b62ea7d6db5b70cb8fb4fd
Author: darkrain42 at
Date: 2009-05-27T03:50:33
Branch: im.pidgin.pidgin

Modified files:


No, I had that right the first time; if it's not our account, then there *is* a from and we need to route the IQ to the proper place.

-------------- next part --------------
--- libpurple/protocols/jabber/jabber.c	3abd27262afe1e4ab66e33c8c21a4709d6e6ac6c
+++ libpurple/protocols/jabber/jabber.c	65fa1901eda22b1e37bea5f2450e1054915752a1
@@ -1665,6 +1665,8 @@ void jabber_blocklist_parse_push(JabberS
 		xmlnode *error, *x;
 		result = jabber_iq_new(js, JABBER_IQ_ERROR);
 		xmlnode_set_attrib(result->node, "id", id);
+		if (from)
+			xmlnode_set_attrib(result->node, "to", from);
 		error = xmlnode_new_child(result->node, "error");
 		xmlnode_set_attrib(error, "type", "cancel");

More information about the Commits mailing list