Mercurial > pidgin.yaz
comparison src/protocols/irc/irc.c @ 10244:13cb42ebb537
[gaim-migrate @ 11384]
Now online irc buddies don't get the offline emblem. Because that's just
weird. (patch by datallah)
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Tue, 23 Nov 2004 02:49:09 +0000 |
parents | 952fb08c60b0 |
children | 357d4fa1bfbe |
comparison
equal
deleted
inserted
replaced
10243:e450f24d1fe1 | 10244:13cb42ebb537 |
---|---|
139 return "irc"; | 139 return "irc"; |
140 } | 140 } |
141 | 141 |
142 static void irc_blist_emblems(GaimBuddy *b, const char **se, const char **sw, const char **nw, const char **ne) | 142 static void irc_blist_emblems(GaimBuddy *b, const char **se, const char **sw, const char **nw, const char **ne) |
143 { | 143 { |
144 if (b->present == GAIM_BUDDY_OFFLINE) | 144 GaimPresence *presence = gaim_buddy_get_presence(b); |
145 | |
146 if (gaim_presence_is_online(presence) == FALSE) { | |
145 *se = "offline"; | 147 *se = "offline"; |
148 } | |
146 } | 149 } |
147 | 150 |
148 static GList *irc_status_types(GaimAccount *account) | 151 static GList *irc_status_types(GaimAccount *account) |
149 { | 152 { |
150 GaimStatusType *type; | 153 GaimStatusType *type; |