--- a/libpurple/protocols/jabber/google/google_roster.c Mon Jun 12 01:00:04 2017 +0000 +++ b/libpurple/protocols/jabber/google/google_roster.c Mon Jun 12 17:48:37 2017 -0300 @@ -34,7 +34,7 @@ char *jid_norm = (char *)jabber_normalize(account, jid); while (list) { - if (!strcmp(jid_norm, (char*)list->data)) { + if (purple_strequal(jid_norm, (char*)list->data)) { purple_xmlnode_set_attrib(query, "xmlns:gr", NS_GOOGLE_ROSTER); purple_xmlnode_set_attrib(query, "gr:ext", "2"); purple_xmlnode_set_attrib(item, "gr:t", "B"); @@ -56,7 +56,7 @@ const char *subscription = purple_xmlnode_get_attrib(item, "subscription"); const char *ask = purple_xmlnode_get_attrib(item, "ask"); - if ((!subscription || !strcmp(subscription, "none")) && !ask) { + if ((!subscription || purple_strequal(subscription, "none")) && !ask) { /* 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. */