[gaim-migrate @ 9354]

Wed, 07 Apr 2004 07:25:13 +0000

author
Ka-Hing Cheung <khc@pidgin.im>
date
Wed, 07 Apr 2004 07:25:13 +0000
changeset 8603
048e00c04bca
parent 8602
f221eadb326c
child 8604
5fafac61e1c9

[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: Christian Hammond <chipx86@chipx86.com>

ChangeLog file | annotate | diff | comparison | revisions
src/server.c file | annotate | diff | comparison | revisions
--- 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);

mercurial