Mercurial > pidgin
comparison src/protocols/gg/gg.c @ 12736:f49d49444c68
[gaim-migrate @ 15081]
Thomas Huriaux noted in SF Patch #1396095 that we have a bug in the gg status handling. I used a different fix than his patch did. Hopefully it works just as well.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 05 Jan 2006 19:50:12 +0000 |
parents | b5fb60cb3bad |
children | 248b8b39c671 |
comparison
equal
deleted
inserted
replaced
12735:da9fd490cef9 | 12736:f49d49444c68 |
---|---|
1351 *se = "offline"; | 1351 *se = "offline"; |
1352 } else if (gaim_presence_is_status_primitive_active(presence, GAIM_STATUS_AWAY)) { | 1352 } else if (gaim_presence_is_status_primitive_active(presence, GAIM_STATUS_AWAY)) { |
1353 *se = "away"; | 1353 *se = "away"; |
1354 } else if (gaim_presence_is_status_active(presence, "blocked")) { | 1354 } else if (gaim_presence_is_status_active(presence, "blocked")) { |
1355 *se = "blocked"; | 1355 *se = "blocked"; |
1356 } else { | |
1357 *se = "offline"; | |
1358 gaim_debug_error("gg", "ggp_list_emblems: unknown status\n"); | |
1359 } | 1356 } |
1360 } | 1357 } |
1361 /* }}} */ | 1358 /* }}} */ |
1362 | 1359 |
1363 /* static char *ggp_status_text(GaimBuddy *b) {{{ */ | 1360 /* static char *ggp_status_text(GaimBuddy *b) {{{ */ |