diff src/protocols/jabber/jabber.c @ 3596:bb966d68f9e3

[gaim-migrate @ 3698] I like typing notifcation. I think I'll marry it. Also, if I'm going to go around mentioning gaim on resumes, I can't very well tell people to look for "KingAnt"... :-) committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 06 Oct 2002 05:01:50 +0000
parents a662c133d1fd
children 95669ff6dc3b
line wrap: on
line diff
--- a/src/protocols/jabber/jabber.c	Sun Oct 06 03:08:47 2002 +0000
+++ b/src/protocols/jabber/jabber.c	Sun Oct 06 05:01:50 2002 +0000
@@ -2209,7 +2209,7 @@
 
 	if((realwho = get_realwho(gjc, who, FALSE, NULL)) == NULL)
 		return 0;
-	
+
 	x = xmlnode_new_tag("message");
 	xmlnode_put_attrib(x, "to", realwho);
 	xmlnode_insert_tag(x, "gaim");
@@ -2217,9 +2217,9 @@
 	y = xmlnode_insert_tag(x, "x");
 	xmlnode_put_attrib(y, "xmlns", "jabber:x:event");
 
-	if(typing)
+	if(typing == TYPING)
 		xmlnode_insert_tag(y, "composing");
-	
+
 	gjab_send(((struct jabber_data *)gc->proto_data)->gjc, x);
 	xmlnode_free(x);
 	g_free(realwho);