changeset 10630:781a0582d35f

[gaim-migrate @ 12108] sf patch #680837, from Carl-Daniel Hailfinger Display sending time in Gadu-gadu messages committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 23 Feb 2005 04:21:50 +0000
parents d93621a98f12
children 18223e71ced7
files ChangeLog src/protocols/gg/gg.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Feb 23 03:52:55 2005 +0000
+++ b/ChangeLog	Wed Feb 23 04:21:50 2005 +0000
@@ -33,6 +33,7 @@
 	* Many problems related to having an IM conversation and a chat open
 	  with the same name (Andrew Hart)
 	* Improved buddy list searching with CTRL+F
+	* Correctly show the time when incoming Gadu-Gadu messages were sent
 
 	Preference changes:
 	* Removed "Dim idle buddies" buddy list preference, default to "Yes."
--- a/src/protocols/gg/gg.c	Wed Feb 23 03:52:55 2005 +0000
+++ b/src/protocols/gg/gg.c	Wed Feb 23 04:21:50 2005 +0000
@@ -1,6 +1,6 @@
 /*
  * gaim - Gadu-Gadu Protocol Plugin
- * $Id: gg.c 11661 2004-12-24 14:45:30Z nosnilmot $
+ * $Id: gg.c 12108 2005-02-23 04:21:50Z thekingant $
  *
  * Copyright (C) 2001 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL>
  *
@@ -528,8 +528,7 @@
 			imsg = charset_convert(e->event.msg.message, "CP1250", "UTF-8");
 			gaim_str_strip_cr(imsg);
 			jmsg = gaim_escape_html(imsg);
-			/* e->event.msg.time - we don't know what this time is for */
-			serv_got_im(gc, user, jmsg, 0, time(NULL));
+			serv_got_im(gc, user, jmsg, 0, e->event.msg.time);
 			g_free(imsg);
 			g_free(jmsg);
 		}