Mercurial > pidgin
diff src/server.c @ 1764:1e0613d9526b
[gaim-migrate @ 1774]
I decided to do the time stamp w/ messages thing that Eric put in the TODO list.
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Fri, 27 Apr 2001 23:26:19 +0000 |
parents | 5bfc58c20e82 |
children | 9aae465eeb6e |
line wrap: on
line diff
--- a/src/server.c Fri Apr 27 22:21:53 2001 +0000 +++ b/src/server.c Fri Apr 27 23:26:19 2001 +0000 @@ -311,7 +311,7 @@ -void serv_got_im(struct gaim_connection *gc, char *name, char *message, int away) +void serv_got_im(struct gaim_connection *gc, char *name, char *message, int away, time_t mtime) { struct conversation *cnv; int new_conv = 0; @@ -370,7 +370,7 @@ if (cnv != NULL) { if (cnv->makesound && (sound_options & OPT_SOUND_RECV)) play_sound(RECEIVE); - write_to_conv(cnv, message, away | WFLAG_RECV, NULL); + write_to_conv(cnv, message, away | WFLAG_RECV, NULL, mtime); } } else { @@ -388,7 +388,7 @@ if (cnv->makesound && (sound_options & OPT_SOUND_RECV)) play_sound(RECEIVE); } - write_to_conv(cnv, message, away | WFLAG_RECV, NULL); + write_to_conv(cnv, message, away | WFLAG_RECV, NULL, mtime); } @@ -414,7 +414,7 @@ serv_send_im(gc, name, away_subs(tmpmsg, alias), 1); if (cnv != NULL) - write_to_conv(cnv, away_subs(tmpmsg, alias), WFLAG_SEND | WFLAG_AUTO, NULL); + write_to_conv(cnv, away_subs(tmpmsg, alias), WFLAG_SEND | WFLAG_AUTO, NULL, mtime); g_free(tmpmsg); } } @@ -723,7 +723,7 @@ g_free(b); } -void serv_got_chat_in(struct gaim_connection *g, int id, char *who, int whisper, char *message) +void serv_got_chat_in(struct gaim_connection *g, int id, char *who, int whisper, char *message, time_t mtime) { int w; GSList *bcs = g->buddy_chats; @@ -752,7 +752,7 @@ else w = 0; - chat_write(b, who, w, message); + chat_write(b, who, w, message, mtime); } void send_keepalive(gpointer d)