Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
9319:a4257646861a | 9320:7a9261d979df |
---|---|
121 show_string = "away"; | 121 show_string = "away"; |
122 else if(!strcmp(state, _("Extended Away"))) | 122 else if(!strcmp(state, _("Extended Away"))) |
123 show_string = "xa"; | 123 show_string = "xa"; |
124 else if(!strcmp(state, _("Do Not Disturb"))) | 124 else if(!strcmp(state, _("Do Not Disturb"))) |
125 show_string = "dnd"; | 125 show_string = "dnd"; |
126 else if(!strcmp(state, _("Invisible"))) { | 126 else if(!strcmp(state, _("Invisible"))) |
127 xmlnode_set_attrib(presence, "type", "invisible"); | 127 xmlnode_set_attrib(presence, "type", "invisible"); |
128 } | 128 else if(!strcmp(state, "unavailable")) |
129 xmlnode_set_attrib(presence, "type", "unavailable"); | |
129 | 130 |
130 if(show_string) { | 131 if(show_string) { |
131 show = xmlnode_new_child(presence, "show"); | 132 show = xmlnode_new_child(presence, "show"); |
132 xmlnode_insert_data(show, show_string, -1); | 133 xmlnode_insert_data(show, show_string, -1); |
133 } | 134 } |