equal
deleted
inserted
replaced
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 |