changeset 26856:c837cf614adc

merge of 'bc166fa1753ca1852b8b0dd0566d93a85644884f' and 'e160cbb1c4048444bbd3bff885d56e49eb34ee1e'
author Paul Aurich <paul@darkrain42.org>
date Sun, 10 May 2009 22:00:38 +0000
parents edff8cc58d66 (diff) 40de88e41162 (current diff)
children 657d42e865dd
files
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/google.c	Sun May 10 20:23:57 2009 +0000
+++ b/libpurple/protocols/jabber/google.c	Sun May 10 22:00:38 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);