From af709ad4c943c735787d2b5acd6b20c5fc4d9667 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 30 Nov 2017 10:18:12 +0100 Subject: [PATCH] fix(ChatRoom): add delete history impl --- src/chat/chat-room/chat-room.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat/chat-room/chat-room.cpp b/src/chat/chat-room/chat-room.cpp index a49416b49..b19bb4912 100644 --- a/src/chat/chat-room/chat-room.cpp +++ b/src/chat/chat-room/chat-room.cpp @@ -380,7 +380,7 @@ shared_ptr ChatRoom::createMessage () { } void ChatRoom::deleteHistory () { - // TODO: history. + getCore()->getPrivate()->mainDb->cleanHistory(getChatRoomId()); } shared_ptr ChatRoom::findMessage (const string &messageId) {