src/server.c

changeset 1764
d8c1affb29fe
parent 1749
d2d9df57c63e
child 1768
2a69692c4432
--- 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)

mercurial