Mercurial > pidgin.yaz
changeset 27100:1d2b813faca7
Stop exiting early from this function. I don't believe it harms anything
to continue executing even if body is null, and if we exit early then
we don't call purple_connection_set_state(session->gc, PURPLE_CONNECTED)
and the account never gets set to "connected." This seems to affect
any MySpace account that has an empty buddy list.
I'm pretty sure this used to work fine, so I'm assuming MySpace tweaked
the data sent to the client when the user has an empty buddy list.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 03 Jun 2009 21:46:05 +0000 |
parents | e6f8354c70c6 |
children | 3ada8179ff2a |
files | libpurple/protocols/myspace/myspace.c |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/myspace/myspace.c Wed Jun 03 18:27:47 2009 +0000 +++ b/libpurple/protocols/myspace/myspace.c Wed Jun 03 21:46:05 2009 +0000 @@ -1118,10 +1118,6 @@ guint buddy_count; body = msim_msg_get_dictionary(reply, "body"); - if (!body) { - /* No friends. Not an error. */ - return; - } buddy_count = 0;