changeset 11905:58b8251c3d60

[gaim-migrate @ 14196] Remove some commented out code now that the signed-on/signed-off messages are in the buddy state notification plugin. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sun, 30 Oct 2005 20:13:46 +0000
parents d72ecdba2322
children 8913546c6a4e
files src/status.c
diffstat 1 files changed, 0 insertions(+), 37 deletions(-) [+]
line wrap: on
line diff
--- a/src/status.c	Sun Oct 30 18:05:41 2005 +0000
+++ b/src/status.c	Sun Oct 30 20:13:46 2005 +0000
@@ -659,35 +659,6 @@
 			ops->status_changed(account, new_status);
 		}
 	}
-	else if (context == GAIM_PRESENCE_CONTEXT_CONV)
-	{
-#if 0
-		GaimConversationUiOps *ops;
-		GaimConversation *conv;
-
-		conv = gaim_status_get_conversation(new_status);
-/*
- * TODO: Probably need to do some of the following here?  This is copied
- *       from some old status code that was removed.
- *
- *           char *tmp = g_strdup_printf(_("%s logged in."), alias);
- *           gaim_conversation_write(c, NULL, tmp, GAIM_MESSAGE_SYSTEM, time(NULL));
- *           g_free(tmp);
- *
- *           char *tmp = g_strdup_printf(_("%s logged out."), alias);
- *           gaim_conversation_write(c, NULL, tmp, GAIM_MESSAGE_SYSTEM, time(NULL));
- *           g_free(tmp); 
- *
- *           char *tmp = g_strdup_printf(_("%s signed off"), alias);
- *           gaim_log_write(log, GAIM_MESSAGE_SYSTEM, (alias ? alias : name), current_time, tmp);
- *           g_free(tmp);
- *
- *           serv_got_typing_stopped(gc, name);
- *
- *           gaim_conversation_update(c, GAIM_CONV_UPDATE_AWAY);
- */
-#endif
-	}
 	else if (context == GAIM_PRESENCE_CONTEXT_BUDDY)
 	{
 		const GList *l;
@@ -697,14 +668,6 @@
 			notify_buddy_status_update((GaimBuddy *)l->data, presence,
 					old_status, new_status);
 		}
-
-/*
- * TODO: Maybe we should do this here?
- *           GaimLog *log = gaim_account_get_log(account);
- *           char *tmp = g_strdup_printf(_("%s signed on"), alias);
- *           gaim_log_write(log, GAIM_MESSAGE_SYSTEM, (alias ? alias : name), current_time, tmp);
- *           g_free(tmp);
- */
 	}
 }