summary refs log tree commit diff
path: root/src/ui
diff options
context:
space:
mode:
authorJedi18 <targetakhil@gmail.com>2021-02-11 23:50:45 +0530
committerJedi18 <targetakhil@gmail.com>2021-02-11 23:50:45 +0530
commitf044e2d2a11150d026d5a523b518027154602d3a (patch)
tree473b85ac1f0c3c749228e34430bacdaf36a14af1 /src/ui
parentshifted room avatar changing (diff)
downloadnheko-f044e2d2a11150d026d5a523b518027154602d3a.tar.xz
fix avatar update on timeline sync
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/RoomSettings.cpp2
-rw-r--r--src/ui/RoomSettings.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/ui/RoomSettings.cpp b/src/ui/RoomSettings.cpp

index 3ff1d5d5..adf8d8a7 100644 --- a/src/ui/RoomSettings.cpp +++ b/src/ui/RoomSettings.cpp
@@ -395,7 +395,6 @@ RoomSettings::updateAvatar() // be queued back into the UI thread through this proxy object. auto proxy = std::make_shared<ThreadProxy>(); connect(proxy.get(), &ThreadProxy::error, this, &RoomSettings::displayError); - connect(proxy.get(), &ThreadProxy::avatarChanged, this, &RoomSettings::avatarChanged); connect(proxy.get(), &ThreadProxy::stopLoading, this, &RoomSettings::stopLoading); const auto bin = file.peek(file.size()); @@ -445,7 +444,6 @@ RoomSettings::updateAvatar() } emit proxy->stopLoading(); - emit proxy->avatarChanged(); }); }); } \ No newline at end of file diff --git a/src/ui/RoomSettings.h b/src/ui/RoomSettings.h
index 09295a58..d31b38f2 100644 --- a/src/ui/RoomSettings.h +++ b/src/ui/RoomSettings.h
@@ -15,7 +15,6 @@ class ThreadProxy : public QObject signals: void error(const QString &msg); - void avatarChanged(); void nameEventSent(const QString &); void topicEventSent(); void stopLoading();