Mercurial > pidgin
diff libpurple/protocols/jabber/google.c @ 30509:0712ce23901e
propagate from branch 'im.pidgin.pidgin' (head 37329f033a30f4f4f5048f9fdc86df4400e3ada5)
to branch 'im.pidgin.cpw.malu.xmpp.google_relay' (head 19964a278756296718ce9887b3e8b98a575f9310)
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Mon, 09 Nov 2009 19:01:03 +0000 |
parents | 2702ca44d963 fa7f3426ed13 |
children | cb8b53a6f238 |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/google.c Tue Nov 03 18:26:29 2009 +0000 +++ b/libpurple/protocols/jabber/google.c Mon Nov 09 19:01:03 2009 +0000 @@ -1077,7 +1077,7 @@ xmlnode_set_attrib(iq->node, "id", id); jabber_iq_send(iq); - purple_debug(PURPLE_DEBUG_MISC, "jabber", + purple_debug_misc("jabber", "Got new mail notification. Sending request for more info\n"); iq = jabber_iq_new_query(js, JABBER_IQ_GET, "google:mail:notify"); @@ -1261,12 +1261,13 @@ jbr = l->data; if (jbr && jbr->name) { - purple_debug(PURPLE_DEBUG_MISC, "jabber", "Removing resource %s\n", jbr->name); + purple_debug_misc("jabber", "Removing resource %s\n", jbr->name); jabber_buddy_remove_resource(jb, jbr->name); } l = l->next; } } + purple_prpl_got_user_status(purple_connection_get_account(gc), who, "offline", NULL); }