changeset 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 a4257646861a
children 542ad8b1a50f
files ChangeLog src/protocols/jabber/presence.c
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Jun 19 18:11:11 2004 +0000
+++ b/ChangeLog	Sat Jun 19 20:54:13 2004 +0000
@@ -22,8 +22,8 @@
 	  "Return from idle" by default. The last action(s) used are the
 	  defaults for the next pounce
 	* Yahoo buddy icon support
-	* Selected buddy icons will automatically convert to the appopriate
-	  format for the protcol.
+	* Selected buddy icons will automatically convert to the appropriate
+	  format for the protocol.
 	* Dragging an image file into the Modify Account dialog will set that
 	  as a buddy icon.
 
--- 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");