Mercurial > pidgin
diff src/server.c @ 12281:970fec1d7062
[gaim-migrate @ 14585]
Get rid of some old code and fully remove 2 deprecated prefs
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 01 Dec 2005 05:13:50 +0000 |
parents | 3ef381cdc47e |
children | 3897229ccb33 |
line wrap: on
line diff
--- a/src/server.c Thu Dec 01 05:03:45 2005 +0000 +++ b/src/server.c Thu Dec 01 05:13:50 2005 +0000 @@ -559,27 +559,9 @@ buffy = gaim_str_sub_away_formatters(away_msg, alias); serv_send_im(gc, name, buffy, GAIM_MESSAGE_AUTO_RESP); -#if 0 - if (!cnv && awayqueue && - gaim_prefs_get_bool("/gaim/gtk/away/queue_messages")) { - - struct queued_message *qm; - - qm = g_new0(struct queued_message, 1); - g_snprintf(qm->name, sizeof(qm->name), "%s", name); - qm->message = g_strdup(buffy); - qm->account = gc->account; - qm->tm = mtime; - qm->flags = GAIM_MESSAGE_SEND | GAIM_MESSAGE_AUTO_RESP; - message_queue = g_slist_append(message_queue, qm); - } - else if (cnv != NULL) -#endif - { - gaim_conv_im_write(GAIM_CONV_IM(cnv), NULL, buffy, - GAIM_MESSAGE_SEND | GAIM_MESSAGE_AUTO_RESP, - mtime); - } + gaim_conv_im_write(GAIM_CONV_IM(cnv), NULL, buffy, + GAIM_MESSAGE_SEND | GAIM_MESSAGE_AUTO_RESP, + mtime); g_free(buffy); }