Verified Commit 82026dcf authored by Alexander Akulich's avatar Alexander Akulich
Browse files

MainLogModel: Fix a crash if can't get account on start chat

parent 00cfb020
......@@ -258,6 +258,7 @@ void MainLogModel::startChat(const QString &accountId, const QString &contactId)
if (account.isNull()) {
qWarning() << "Cannot get account for" << accountId;
return;
}
if (m_conversations.contains(accountId + contactId)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment