Mercurial > pidgin.yaz
diff src/protocols/jabber/presence.c @ 12683:41cf9be29754
[gaim-migrate @ 15026]
fix xa and chatty states for jabber
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 01 Jan 2006 16:25:17 +0000 |
parents | e4e47871c373 |
children | 371f353f7d99 |
line wrap: on
line diff
--- a/src/protocols/jabber/presence.c Fri Dec 30 19:33:48 2005 +0000 +++ b/src/protocols/jabber/presence.c Sun Jan 01 16:25:17 2006 +0000 @@ -148,7 +148,7 @@ else if(state != JABBER_BUDDY_STATE_ONLINE && state != JABBER_BUDDY_STATE_UNKNOWN && state != JABBER_BUDDY_STATE_ERROR) - show_string = jabber_buddy_state_get_status_id(state); + show_string = jabber_buddy_state_get_show(state); if(show_string) { show = xmlnode_new_child(presence, "show"); @@ -337,7 +337,7 @@ } else { if((y = xmlnode_get_child(packet, "show"))) { char *show = xmlnode_get_data(y); - state = jabber_buddy_status_id_get_state(show); + state = jabber_buddy_show_get_state(show); g_free(show); } else { state = JABBER_BUDDY_STATE_ONLINE;