diff options
-rw-r--r-- | lib/user.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/user.cpp b/lib/user.cpp index 03474b10..6e377de8 100644 --- a/lib/user.cpp +++ b/lib/user.cpp @@ -230,7 +230,6 @@ void User::updateName(const QString& newName, const QString& oldName, if (newName != oldName) { emit nameAboutToChange(newName, oldName, room); d->setNameForRoom(room, newName, oldName); - setObjectName(displayname()); emit nameChanged(newName, oldName, room); } } @@ -242,7 +241,6 @@ void User::updateAvatarUrl(const QUrl& newUrl, const QUrl& oldUrl, || d->avatarsToRooms.contains(oldUrl, room)); if (newUrl != oldUrl) { d->setAvatarForRoom(room, newUrl, oldUrl); - setObjectName(displayname()); emit avatarChanged(this, room); } } |