Mercurial > ~mikael > mcabber > hg
diff mcabber/src/hooks.c @ 178:cfefae4b6de9
[/trunk] Changeset 190 by mikael
* Read history files when creating a buddy panel.
author | mikael |
---|---|
date | Thu, 05 May 2005 11:54:57 +0000 |
parents | 44c6410b4845 |
children | b5aa2b9c425a |
line wrap: on
line diff
--- 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);