This should be better

Thu, 24 May 2007 22:39:22 +0000

author
Sean Egan <seanegan@pidgin.im>
date
Thu, 24 May 2007 22:39:22 +0000
changeset 17327
c0ba0055387a
parent 17326
13289287e484
child 17328
7a5668fb7bad

This should be better

libpurple/protocols/jabber/google.c file | annotate | diff | comparison | revisions
--- a/libpurple/protocols/jabber/google.c	Thu May 24 21:47:02 2007 +0000
+++ b/libpurple/protocols/jabber/google.c	Thu May 24 22:39:22 2007 +0000
@@ -219,7 +219,7 @@
 	const char *grt = xmlnode_get_attrib_with_namespace(item, "t", "google:roster");
 	const char *subscription = xmlnode_get_attrib(item, "subscription");
 	
-	if (subscription && !strcmp(subscription, "none")) {
+	if (!subscription || !strcmp(subscription, "none")) {
 		/* The Google Talk servers will automatically add people from your Gmail address book
 		 * with subscription=none. If we see someone with subscription=none, ignore them.
 		 */

mercurial