diff --git a/src/persistence/profile.cpp b/src/persistence/profile.cpp index e7d93f341..fb9023025 100644 --- a/src/persistence/profile.cpp +++ b/src/persistence/profile.cpp @@ -410,6 +410,7 @@ void Profile::removeAvatar() void Profile::removeAvatar(const QString &ownerId) { QFile::remove(avatarPath(ownerId)); + core->setAvatar({}); } bool Profile::exists(QString name)