diff src/server.c @ 7950:7b8407d8c546

[gaim-migrate @ 8624] Move the "Logged In:" tooltip thingy to the core. Much thanks to Evan Schoenberg of Adium. This shouldn't affect anything for oscar. For jabber some servers/accounts might start showing a "Logged In:" line in people's tooltips. I'm really not sure when it will or won't. I bet faceprint knows! committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 29 Dec 2003 06:13:36 +0000
parents 6db061321ec4
children 1b8261f374ea
line wrap: on
line diff
--- a/src/server.c	Mon Dec 29 05:14:16 2003 +0000
+++ b/src/server.c	Mon Dec 29 06:13:36 2003 +0000
@@ -1124,6 +1124,9 @@
 		gaim_signal_emit(gaim_blist_get_handle(), "buddy-unidle", b);
 	}
 
+	if (gc->login_time_official && gc->login_time)
+		signon += gc->login_time_official - gc->login_time;
+	gaim_blist_update_buddy_signon(b, signon);
 	gaim_blist_update_buddy_idle(b, idle);
 	gaim_blist_update_buddy_evil(b, evil);
 /* LOG