[gaim-migrate @ 5054]

Thu, 13 Mar 2003 09:00:42 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Thu, 13 Mar 2003 09:00:42 +0000
changeset 4739
7263e3ceab43
parent 4738
934125d7450e
child 4740
dea05528fec3

[gaim-migrate @ 5054]
This makes it so, if a buddy signs off then back on, we will tell them
that we have a buddy icon again, and will stop sending typing notification
until we're sure their client supports it.

It's pimptastic!

src/protocols/oscar/oscar.c file | annotate | diff | comparison | revisions
--- a/src/protocols/oscar/oscar.c	Thu Mar 13 08:42:06 2003 +0000
+++ b/src/protocols/oscar/oscar.c	Thu Mar 13 09:00:42 2003 +0000
@@ -1639,6 +1639,8 @@
 	}
 	bi->signon = info->onlinesince ? info->onlinesince : (info->sessionlen + time(NULL));
 	bi->caps = caps;
+	bi->typingnot = FALSE;
+	bi->ico_informed = FALSE;
 
 	serv_got_update(gc, info->sn, 1, info->warnlevel/10, signon,
 			time_idle, type);
@@ -1647,9 +1649,9 @@
 }
 
 static int gaim_parse_offgoing(aim_session_t *sess, aim_frame_t *fr, ...) {
-	aim_userinfo_t *info;
+	struct gaim_connection *gc = sess->aux_data;
 	va_list ap;
-	struct gaim_connection *gc = sess->aux_data;
+	aim_userinfo_t *info;
 
 	va_start(ap, fr);
 	info = va_arg(ap, aim_userinfo_t *);

mercurial