# HG changeset patch # User Paul Aurich # Date 1241992770 0 # Node ID edff8cc58d66dd1de8bd50d38a27062ae07ecf8a # Parent 04af21d4be27218dd0fbfff6bcc058c1a9d45625 Avoid an assertion when acking the gmail poke diff -r 04af21d4be27 -r edff8cc58d66 libpurple/protocols/jabber/google.c --- a/libpurple/protocols/jabber/google.c Fri May 08 03:54:58 2009 +0000 +++ b/libpurple/protocols/jabber/google.c Sun May 10 21:59:30 2009 +0000 @@ -763,7 +763,8 @@ /* Acknowledge the notification */ iq = jabber_iq_new(js, JABBER_IQ_RESULT); - xmlnode_set_attrib(iq->node, "to", from); + if (from) + xmlnode_set_attrib(iq->node, "to", from); xmlnode_set_attrib(iq->node, "id", id); jabber_iq_send(iq);