# HG changeset patch # User Richard Laager # Date 1130703226 0 # Node ID 58b8251c3d60a4c7f4e9220b2e6213140a427145 # Parent d72ecdba2322640f18b132e1c9c0dbc0677442ad [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 diff -r d72ecdba2322 -r 58b8251c3d60 src/status.c --- 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); - */ } }