Mercurial > pidgin
diff src/protocols/jabber/presence.c @ 9320:7a9261d979df
[gaim-migrate @ 10128]
changelog speeeling fix, and a jabber stupidity fix (note that the server still should have covered up for this blunder)
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sat, 19 Jun 2004 20:54:13 +0000 |
parents | f65be7c97812 |
children | 8b2451878e26 |
line wrap: on
line diff
--- a/src/protocols/jabber/presence.c Sat Jun 19 18:11:11 2004 +0000 +++ b/src/protocols/jabber/presence.c Sat Jun 19 20:54:13 2004 +0000 @@ -123,9 +123,10 @@ show_string = "xa"; else if(!strcmp(state, _("Do Not Disturb"))) show_string = "dnd"; - else if(!strcmp(state, _("Invisible"))) { + else if(!strcmp(state, _("Invisible"))) xmlnode_set_attrib(presence, "type", "invisible"); - } + else if(!strcmp(state, "unavailable")) + xmlnode_set_attrib(presence, "type", "unavailable"); if(show_string) { show = xmlnode_new_child(presence, "show");