mcabber/src/hooks.c
changeset 178 cfefae4b6de9
parent 160 44c6410b4845
child 184 b5aa2b9c425a
--- a/mcabber/src/hooks.c	Thu May 05 08:53:49 2005 +0000
+++ b/mcabber/src/hooks.c	Thu May 05 11:54:57 2005 +0000
@@ -41,6 +41,9 @@
     new_guy = TRUE;
   }
 
+  // Note: the hlog_write should not be called first, because in some
+  // cases scr_WriteIncomingMessage() will load the history and we'd
+  // have the message twice...
   scr_WriteIncomingMessage(jid, buffer);
   hlog_write_message(jid, timestamp, FALSE, buffer);
   hk_ext_cmd(jid, 'M', 'R', NULL);