Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 12280:45aa1d86428e | 12281:970fec1d7062 |
|---|---|
| 557 | 557 |
| 558 /* Move this to oscar.c! */ | 558 /* Move this to oscar.c! */ |
| 559 buffy = gaim_str_sub_away_formatters(away_msg, alias); | 559 buffy = gaim_str_sub_away_formatters(away_msg, alias); |
| 560 serv_send_im(gc, name, buffy, GAIM_MESSAGE_AUTO_RESP); | 560 serv_send_im(gc, name, buffy, GAIM_MESSAGE_AUTO_RESP); |
| 561 | 561 |
| 562 #if 0 | 562 gaim_conv_im_write(GAIM_CONV_IM(cnv), NULL, buffy, |
| 563 if (!cnv && awayqueue && | 563 GAIM_MESSAGE_SEND | GAIM_MESSAGE_AUTO_RESP, |
| 564 gaim_prefs_get_bool("/gaim/gtk/away/queue_messages")) { | 564 mtime); |
| 565 | |
| 566 struct queued_message *qm; | |
| 567 | |
| 568 qm = g_new0(struct queued_message, 1); | |
| 569 g_snprintf(qm->name, sizeof(qm->name), "%s", name); | |
| 570 qm->message = g_strdup(buffy); | |
| 571 qm->account = gc->account; | |
| 572 qm->tm = mtime; | |
| 573 qm->flags = GAIM_MESSAGE_SEND | GAIM_MESSAGE_AUTO_RESP; | |
| 574 message_queue = g_slist_append(message_queue, qm); | |
| 575 } | |
| 576 else if (cnv != NULL) | |
| 577 #endif | |
| 578 { | |
| 579 gaim_conv_im_write(GAIM_CONV_IM(cnv), NULL, buffy, | |
| 580 GAIM_MESSAGE_SEND | GAIM_MESSAGE_AUTO_RESP, | |
| 581 mtime); | |
| 582 } | |
| 583 | 565 |
| 584 g_free(buffy); | 566 g_free(buffy); |
| 585 } | 567 } |
| 586 else | 568 else |
| 587 { | 569 { |
