# HG changeset patch # User Paul Aurich # Date 1243396233 0 # Node ID c41698323c2ff76e26b497f3b3468be8c754af95 # Parent 373141b35c52af9e653a59d8e624582a44a5df5c 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. diff -r 373141b35c52 -r c41698323c2f libpurple/protocols/jabber/jabber.c --- a/libpurple/protocols/jabber/jabber.c Wed May 27 03:45:21 2009 +0000 +++ b/libpurple/protocols/jabber/jabber.c Wed May 27 03:50:33 2009 +0000 @@ -1665,6 +1665,8 @@ 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");