Mercurial > pidgin
changeset 10242:c66da6503db8
[gaim-migrate @ 11381]
<datallah> anyone here to take patch for HEAD so that IRC buddies sign on?
<datallah> something isn't quite right still because they appear with the little "no entry" emblem, but i don't even remember what that means
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Tue, 23 Nov 2004 02:15:47 +0000 |
parents | 1d67ab57abb2 |
children | e450f24d1fe1 |
files | src/protocols/irc/msgs.c |
diffstat | 1 files changed, 3 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/irc/msgs.c Tue Nov 23 00:57:01 2004 +0000 +++ b/src/protocols/irc/msgs.c Tue Nov 23 02:15:47 2004 +0000 @@ -550,20 +550,15 @@ { GaimConnection *gc = gaim_account_get_connection(irc->account); GaimBuddy *buddy = gaim_find_buddy(irc->account, name); - GaimPresence *presence; if (!gc || !buddy) return; - presence = gaim_buddy_get_presence(buddy); - if (ib->online && !ib->flag) { - gaim_presence_switch_status(presence, "online"); + gaim_prpl_got_user_status(irc->account, name, "offline", NULL); ib->online = FALSE; - } - - if (!ib->online && ib->flag) { - gaim_presence_switch_status(presence, "offline"); + } else if (!ib->online && ib->flag) { + gaim_prpl_got_user_status(irc->account, name, "online", NULL); ib->online = TRUE; } }