Mercurial > pidgin.yaz
comparison libpurple/protocols/oscar/oscar.c @ 23369:31fa01597dce
I'm embarassed by this random semicolon.
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Sat, 14 Jun 2008 20:22:49 +0000 |
parents | 98594354b423 |
children | 540a26a1a88d a5bb767b8644 |
comparison
equal
deleted
inserted
replaced
23368:98594354b423 | 23369:31fa01597dce |
---|---|
1981 PurplePresence *presence = purple_buddy_get_presence(b); | 1981 PurplePresence *presence = purple_buddy_get_presence(b); |
1982 PurpleStatus *old_status = purple_presence_get_active_status(presence); | 1982 PurpleStatus *old_status = purple_presence_get_active_status(presence); |
1983 PurpleStatus *new_status = purple_presence_get_status(presence, status_id); | 1983 PurpleStatus *new_status = purple_presence_get_status(presence, status_id); |
1984 | 1984 |
1985 /* If our status_id would change with this update, pass it to the core. | 1985 /* If our status_id would change with this update, pass it to the core. |
1986 * However, if our status_id would not change, do nothing; as we would clear out any existing | 1986 * However, if our status_id would not change, do nothing, as we would clear out any existing |
1987 * attributes on the status prematurely. purple_got_infoblock() will update the message as needed. | 1987 * attributes on the status prematurely. purple_got_infoblock() will update the message as needed. |
1988 */ | 1988 */ |
1989 if (old_status != new_status) | 1989 if (old_status != new_status) |
1990 purple_prpl_got_user_status(account, info->sn, status_id, NULL); | 1990 purple_prpl_got_user_status(account, info->sn, status_id, NULL); |
1991 } | 1991 } |