Skip to content
Snippets Groups Projects
Commit 50490dea authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

avatars: invalidate cache when changing account

Prevents 1 to 1 conversations of the same id on different accounts
(local) from having the same avatar after switching account.

Change-Id: Id30af117b2da8bd35d64b54f2e02cbbed0710848
Gitlab: #466
parent d0b56674
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,7 @@ AvatarRegistry::addOrUpdateImage(const QString& id)
void
AvatarRegistry::connectAccount()
{
uidMap_.clear();
connect(lrcInstance_->getCurrentContactModel(),
&ContactModel::profileUpdated,
this,
......
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