Mercurial > pidgin.yaz
diff src/server.c @ 1769:68eddf56f419
[gaim-migrate @ 1779]
notes on future UI stuff for PRPLs. also cleaning up rob's mess in server.c.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 28 Apr 2001 08:11:42 +0000 |
parents | 9aae465eeb6e |
children | 213607e89598 |
line wrap: on
line diff
--- a/src/server.c Sat Apr 28 02:01:28 2001 +0000 +++ b/src/server.c Sat Apr 28 08:11:42 2001 +0000 @@ -367,27 +367,19 @@ return; } if (cnv != NULL) { - + struct queued_message *qm; if (cnv->makesound && (sound_options & OPT_SOUND_RECV)) play_sound(RECEIVE); - - if (gc->away) - { - struct queued_message *qm; + /* + qm = (struct queued_message *)g_new0(struct queued_message, 1); + snprintf(qm->name, sizeof(qm->name), "%s", name); + qm->message = strdup(message); + qm->gc = gc; + qm->tm = mtime; - qm = (struct queued_message *)g_new0(struct queued_message, 1); - snprintf(qm->name, sizeof(qm->name), "%s", name); - qm->message = strdup(message); - qm->gc = gc; - qm->tm = mtime; - - message_queue = g_slist_append(message_queue, qm); - - printf("A message has been queued.\n"); - } - + message_queue = g_slist_append(message_queue, qm); + */ write_to_conv(cnv, message, away | WFLAG_RECV, NULL, mtime); - } } else { @@ -405,22 +397,6 @@ if (cnv->makesound && (sound_options & OPT_SOUND_RECV)) play_sound(RECEIVE); } - - if (gc->away) - { - struct queued_message *qm; - - qm = (struct queued_message *)g_new0(struct queued_message, 1); - snprintf(qm->name, sizeof(qm->name), "%s", name); - qm->message = strdup(message); - qm->gc = gc; - qm->tm = mtime; - - message_queue = g_slist_append(message_queue, qm); - - printf("A message has been queued.\n"); - } - write_to_conv(cnv, message, away | WFLAG_RECV, NULL, mtime); }