mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 00:49:28 -05:00
Store chat lobby history on disk
This commit is contained in:
parent
d5c33f5631
commit
45e1e81d9c
@ -115,11 +115,6 @@ void p3HistoryMgr::addMessage(const ChatMessage& cm)
|
|||||||
item->sendTime = cm.sendTime;
|
item->sendTime = cm.sendTime;
|
||||||
item->recvTime = cm.recvTime;
|
item->recvTime = cm.recvTime;
|
||||||
|
|
||||||
if (cm.chat_id.isLobbyId()) {
|
|
||||||
// disable save to disc for chat lobbies until they are saved
|
|
||||||
item->saveToDisc = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
item->message = cm.msg ;
|
item->message = cm.msg ;
|
||||||
//librs::util::ConvertUtf16ToUtf8(chatItem->message, item->message);
|
//librs::util::ConvertUtf16ToUtf8(chatItem->message, item->message);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user