Mercurial > pidgin
changeset 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 | 5a2c38d33eb4 |
children | 5fc015909164 |
files | src/protocols/jabber/buddy.c src/protocols/novell/novell.c |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
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;
--- a/src/protocols/novell/novell.c Wed Sep 14 02:58:30 2005 +0000 +++ b/src/protocols/novell/novell.c Wed Sep 14 03:08:50 2005 +0000 @@ -1178,7 +1178,7 @@ } gaim_prpl_user_status(account, buddy->name, - (loggedin ? "online" : "offline"), NULL); + (loggedin ? "available" : "offline"), NULL); if (time_idle > 0) gaim_prpl_got_user_idle(account, buddy->name, TRUE, idle); else