diff src/server.c @ 8603:8d5084065107

[gaim-migrate @ 9354] Away/back status updates are now logged again. Patch by Ka-Hing Cheung. I should point out that the previous pref description change patch is by Kevin Stange. Now he can sleep tonight. Or not, since he's probably hacking on more cool patches, or something. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 07 Apr 2004 07:25:13 +0000
parents 7dcd6f26e4a7
children d4f6b9aa4cc8
line wrap: on
line diff
--- a/src/server.c	Wed Apr 07 07:01:06 2004 +0000
+++ b/src/server.c	Wed Apr 07 07:25:13 2004 +0000
@@ -1138,19 +1138,6 @@
 
 	old_idle = b->idle;
 
-	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
-	if ((b->uc & UC_UNAVAILABLE) && !(type & UC_UNAVAILABLE))
-		system_log(log_back, gc, b, OPT_LOG_BUDDY_AWAY);
-	else if (!(b->uc & UC_UNAVAILABLE) && (type & UC_UNAVAILABLE))
-		system_log(log_away, gc, b, OPT_LOG_BUDDY_AWAY);
-*/
-	gaim_blist_update_buddy_status(b, type);
-
  	if (loggedin) {
  		if (!GAIM_BUDDY_IS_ONLINE(b)) {
  			signing_on = TRUE;
@@ -1280,6 +1267,13 @@
  		}
 	}
 
+	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);
+	gaim_blist_update_buddy_status(b, type);
+
 
 	if (c != NULL)
 		gaim_conversation_update(c, GAIM_CONV_UPDATE_AWAY);