diff plugins/irc.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 34369ed4e212
children 1b61db419774
line wrap: on
line diff
--- a/plugins/irc.c	Fri Apr 27 22:21:53 2001 +0000
+++ b/plugins/irc.c	Fri Apr 27 23:26:19 2001 +0000
@@ -461,7 +461,7 @@
 	
 	/* Since AIM expects us to receive the message we send, we gotta fake it */
 	if (is_command==FALSE)
-	  serv_got_chat_in(gc, id, gc->username, 0, message);
+	  serv_got_chat_in(gc, id, gc->username, 0, message, time((time_t)NULL));
 	
 	g_free(buf);
 	
@@ -586,7 +586,7 @@
 		res = g_strsplit(buf, " ", 5);
 
 		if (!strcmp(res[1], "301"))
-			serv_got_im(gc, res[3], res[4] + 1, 1);
+			serv_got_im(gc, res[3], res[4] + 1, 1, time((time_t)NULL));
 
 		g_strfreev(res);
 	}
@@ -1100,11 +1100,11 @@
 
 			id = find_id_by_name(gc, u_channel);
 			if (id != -1) {
-				serv_got_chat_in(gc, id, u_nick, 0, u_message);
+				serv_got_chat_in(gc, id, u_nick, 0, u_message, time((time_t)NULL));
 			}
 		} else {
 			/* Nope. Let's treat it as a private message */
-			serv_got_im(gc, u_nick, u_message, 0);
+			serv_got_im(gc, u_nick, u_message, 0, time((time_t)NULL));
 		}
 
 		return;