Mercurial > pidgin
changeset 27572:affa3b67c651
Use the existing convenience variable instead of a couple of dereferences.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Thu, 16 Jul 2009 05:15:42 +0000 |
parents | dd5a512645d7 |
children | ccb1f1777df7 |
files | libpurple/protocols/jabber/presence.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/presence.c Thu Jul 16 04:27:57 2009 +0000 +++ b/libpurple/protocols/jabber/presence.c Thu Jul 16 05:15:42 2009 +0000 @@ -91,9 +91,9 @@ } if ((jbr = jabber_buddy_find_resource(jb, NULL))) { - purple_prpl_got_user_status(js->gc->account, username, jabber_buddy_state_get_status_id(jbr->state), "priority", jbr->priority, jbr->status ? "message" : NULL, jbr->status, NULL); + purple_prpl_got_user_status(account, username, jabber_buddy_state_get_status_id(jbr->state), "priority", jbr->priority, jbr->status ? "message" : NULL, jbr->status, NULL); } else { - purple_prpl_got_user_status(js->gc->account, username, "offline", msg ? "message" : NULL, msg, NULL); + purple_prpl_got_user_status(account, username, "offline", msg ? "message" : NULL, msg, NULL); } g_free(msg); }