Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/hooks.c @ 190:9c2023d60986
[/trunk] Changeset 202 by mikael
* Enable INFO prefix.
author | mikael |
---|---|
date | Fri, 06 May 2005 15:10:16 +0000 |
parents | b5aa2b9c425a |
children | 4fcdbfdf7c20 |
comparison
equal
deleted
inserted
replaced
189:4f3975f1b852 | 190:9c2023d60986 |
---|---|
42 } | 42 } |
43 | 43 |
44 // Note: the hlog_write should not be called first, because in some | 44 // Note: the hlog_write should not be called first, because in some |
45 // cases scr_WriteIncomingMessage() will load the history and we'd | 45 // cases scr_WriteIncomingMessage() will load the history and we'd |
46 // have the message twice... | 46 // have the message twice... |
47 scr_WriteIncomingMessage(jid, buffer, timestamp); | 47 scr_WriteIncomingMessage(jid, buffer, timestamp, 0); |
48 hlog_write_message(jid, timestamp, FALSE, buffer); | 48 hlog_write_message(jid, timestamp, FALSE, buffer); |
49 hk_ext_cmd(jid, 'M', 'R', NULL); | 49 hk_ext_cmd(jid, 'M', 'R', NULL); |
50 free(buffer); | 50 free(buffer); |
51 // We need to rebuild the list if the sender is unknown or | 51 // We need to rebuild the list if the sender is unknown or |
52 // if the sender is offline/invisible and hide_offline_buddies is set | 52 // if the sender is offline/invisible and hide_offline_buddies is set |