changeset 4739:5c720bc4c23d

[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! committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 13 Mar 2003 09:00:42 +0000
parents 34fdf9e313d5
children beffb3109ddb
files src/protocols/oscar/oscar.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 *);