diff options
author | Jedi18 <targetakhil@gmail.com> | 2021-02-11 23:50:45 +0530 |
---|---|---|
committer | Jedi18 <targetakhil@gmail.com> | 2021-02-11 23:50:45 +0530 |
commit | f044e2d2a11150d026d5a523b518027154602d3a (patch) | |
tree | 473b85ac1f0c3c749228e34430bacdaf36a14af1 /src/timeline/TimelineModel.cpp | |
parent | shifted room avatar changing (diff) | |
download | nheko-f044e2d2a11150d026d5a523b518027154602d3a.tar.xz |
fix avatar update on timeline sync
Diffstat (limited to 'src/timeline/TimelineModel.cpp')
-rw-r--r-- | src/timeline/TimelineModel.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp index 968ec3c7..29808fdd 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp @@ -808,6 +808,14 @@ TimelineModel::openUserProfile(QString userid, bool global) } void +TimelineModel::openRoomSettings(QString roomid) +{ + RoomSettings *settings = new RoomSettings(roomid, this); + connect(this, &TimelineModel::roomAvatarUrlChanged, settings, &RoomSettings::avatarChanged); + openRoomSettingsDialog(settings); +} + +void TimelineModel::replyAction(QString id) { setReply(id); |