Merge pull request #21 from AsamK/lobby_history

Store lobby history on disk
This commit is contained in:
defnax 2015-08-27 18:43:28 +02:00
commit 6e1a8fac10
3 changed files with 29 additions and 8 deletions

View file

@ -115,11 +115,6 @@ void p3HistoryMgr::addMessage(const ChatMessage& cm)
item->sendTime = cm.sendTime;
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 ;
//librs::util::ConvertUtf16ToUtf8(chatItem->message, item->message);