Skip to content
Snippets Groups Projects
Commit 8355cb07 authored by Ming Rui Zhang's avatar Ming Rui Zhang
Browse files

messagesadapter: clear cached convId once current account is changed

Gitlab: #158
Change-Id: I126ab29e1d63e036d68a62d293abf6f445a60722
parent a3c6e262
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,7 @@ void
MessagesAdapter::safeInit()
{
connect(&LRCInstance::instance(), &LRCInstance::currentAccountChanged, [this]() {
currentConvUid_.clear();
connectConversationModel();
});
connectConversationModel();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment