From: <ro...@us...> - 2006-08-09 04:22:14
|
Revision: 16676 Author: roast Date: 2006-08-08 21:22:08 -0700 (Tue, 08 Aug 2006) ViewCVS: http://svn.sourceforge.net/gaim/?rev=16676&view=rev Log Message: ----------- partial support for account sign on and sign off status Modified Paths: -------------- branches/soc-2006-file-loggers/src/connection.c Modified: branches/soc-2006-file-loggers/src/connection.c =================================================================== --- branches/soc-2006-file-loggers/src/connection.c 2006-08-09 04:21:36 UTC (rev 16675) +++ branches/soc-2006-file-loggers/src/connection.c 2006-08-09 04:22:08 UTC (rev 16676) @@ -281,6 +281,10 @@ gaim_presence_get_login_time(presence), msg); g_free(msg); + + gaim_log_write_action(log, GAIM_ACTION_STATUS_ONLINE, + gaim_account_get_username(account), + gaim_presence_get_login_time(presence), NULL); } } @@ -313,6 +317,11 @@ gaim_account_get_username(account), time(NULL), msg); g_free(msg); + + gaim_log_write_action(log, GAIM_ACTION_STATUS_OFFLINE, + gaim_account_get_username(account), + time(NULL), NULL); + } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |