comparison src/protocols/oscar/oscar.c @ 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 dbd0761f8814
comparison
equal deleted inserted replaced
4738:34fdf9e313d5 4739:5c720bc4c23d
1637 bi = g_new0(struct buddyinfo, 1); 1637 bi = g_new0(struct buddyinfo, 1);
1638 g_hash_table_insert(od->buddyinfo, g_strdup(normalize(info->sn)), bi); 1638 g_hash_table_insert(od->buddyinfo, g_strdup(normalize(info->sn)), bi);
1639 } 1639 }
1640 bi->signon = info->onlinesince ? info->onlinesince : (info->sessionlen + time(NULL)); 1640 bi->signon = info->onlinesince ? info->onlinesince : (info->sessionlen + time(NULL));
1641 bi->caps = caps; 1641 bi->caps = caps;
1642 bi->typingnot = FALSE;
1643 bi->ico_informed = FALSE;
1642 1644
1643 serv_got_update(gc, info->sn, 1, info->warnlevel/10, signon, 1645 serv_got_update(gc, info->sn, 1, info->warnlevel/10, signon,
1644 time_idle, type); 1646 time_idle, type);
1645 1647
1646 return 1; 1648 return 1;
1647 } 1649 }
1648 1650
1649 static int gaim_parse_offgoing(aim_session_t *sess, aim_frame_t *fr, ...) { 1651 static int gaim_parse_offgoing(aim_session_t *sess, aim_frame_t *fr, ...) {
1652 struct gaim_connection *gc = sess->aux_data;
1653 va_list ap;
1650 aim_userinfo_t *info; 1654 aim_userinfo_t *info;
1651 va_list ap;
1652 struct gaim_connection *gc = sess->aux_data;
1653 1655
1654 va_start(ap, fr); 1656 va_start(ap, fr);
1655 info = va_arg(ap, aim_userinfo_t *); 1657 info = va_arg(ap, aim_userinfo_t *);
1656 va_end(ap); 1658 va_end(ap);
1657 1659