changeset 13506:c358be635301

[gaim-migrate @ 15882] SF Patch #1446757 from Sadrul Fixes SF Bug #1444924 On login, we weren't noting (in the system log) that people were away. This was requested and Sadrul made a patch. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 14 Mar 2006 06:38:05 +0000
parents 7a6763bbf82b
children 702107dd58f1
files src/status.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/status.c	Tue Mar 14 06:15:31 2006 +0000
+++ b/src/status.c	Tue Mar 14 06:38:05 2006 +0000
@@ -638,13 +638,18 @@
 				tmp = g_strdup_printf(_("%s went away"), buddy_alias);
 			}
 		}
+		else
+		{
+			/* XXX: Make this "%s is away" when strings thaw. */
+			tmp = g_strdup_printf(_("%s went away"), buddy_alias);
+		}
 
 		if (tmp != NULL)
 		{
 			GaimLog *log = gaim_account_get_log(buddy->account);
 
 			gaim_log_write(log, GAIM_MESSAGE_SYSTEM, buddy_alias,
-			current_time, tmp);
+			               current_time, tmp);
 			g_free(tmp);
 		}
 	}