summary refs log tree commit diff
path: root/src/timeline/TimelineModel.cpp
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2021-02-19 08:43:03 +0000
committerGitHub <noreply@github.com>2021-02-19 08:43:03 +0000
commit744feabecaf0daaf587807925361653302787a40 (patch)
tree9e31972499bcf4094ea7b5d42684ad760c61e672 /src/timeline/TimelineModel.cpp
parentAdapt to changes in MSC2312 (diff)
parentfixed roomsettings spacing and toggle button right align bug (diff)
downloadnheko-744feabecaf0daaf587807925361653302787a40.tar.xz
Merge pull request #474 from Jedi18/room_settings_qml
Shifted Room Settings Dialog to QML
Diffstat (limited to '')
-rw-r--r--src/timeline/TimelineModel.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp

index 80e73440..af4c6aa2 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp
@@ -837,6 +837,14 @@ TimelineModel::openUserProfile(QString userid, bool global) } void +TimelineModel::openRoomSettings() +{ + RoomSettings *settings = new RoomSettings(roomId(), this); + connect(this, &TimelineModel::roomAvatarUrlChanged, settings, &RoomSettings::avatarChanged); + openRoomSettingsDialog(settings); +} + +void TimelineModel::replyAction(QString id) { setReply(id);