changeset 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 6046b0b6abd0
children d9e449b6dc78
files ChangeLog src/server.c
diffstat 2 files changed, 8 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Apr 07 07:01:06 2004 +0000
+++ b/ChangeLog	Wed Apr 07 07:25:13 2004 +0000
@@ -13,6 +13,7 @@
 	* The Clear button in privacy works (Robert Mibus)
 	* MSN error reporting works again (Stu Tomlinson)
 	* All away messages should now show up in tooltips
+	* Away/back status updates are now logged again (Ka-Hing Cheung)
 
 version 0.76 (04/01/2004):
 	New Features:
--- 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);