Mercurial > pidgin.yaz
diff src/protocols/jabber/buddy.c @ 11540:9ddda2a86f50
[gaim-migrate @ 13795]
Changes I should have made when I removed GAIM_PRESENCE_TYPE_ONLINE or
whatever it was
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 14 Sep 2005 03:08:50 +0000 |
parents | c9b815aeddc1 |
children | 828802f2251b |
line wrap: on
line diff
--- a/src/protocols/jabber/buddy.c Wed Sep 14 02:58:30 2005 +0000 +++ b/src/protocols/jabber/buddy.c Wed Sep 14 03:08:50 2005 +0000 @@ -1102,7 +1102,7 @@ JabberBuddyState jabber_buddy_status_id_get_state(const char *id) { if(!id) return JABBER_BUDDY_STATE_UNKNOWN; - if(!strcmp(id, "online")) + if(!strcmp(id, "available")) return JABBER_BUDDY_STATE_ONLINE; if(!strcmp(id, "chat")) return JABBER_BUDDY_STATE_CHAT; @@ -1131,7 +1131,7 @@ case JABBER_BUDDY_STATE_DND: return "dnd"; case JABBER_BUDDY_STATE_ONLINE: - return "online"; + return "available"; case JABBER_BUDDY_STATE_UNKNOWN: case JABBER_BUDDY_STATE_ERROR: return NULL;