Mercurial > pidgin
diff src/protocols/irc/msgs.c @ 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 | 42cdec4f639b |
children | a66cf83552dc |
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; } }