summary refs log tree commit diff
path: root/src/timeline/RoomlistModel.h
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-12-13 19:05:22 -0500
committerLoren Burkholder <computersemiexpert@outlook.com>2021-12-13 19:08:54 -0500
commit45b150fb58d14970e5e393190a21e5f7a4d457e9 (patch)
tree04b7443a4d8a72a51ff1f8edcf251f5e3e5ea44b /src/timeline/RoomlistModel.h
parentDon't get too large of corners (diff)
downloadnheko-45b150fb58d14970e5e393190a21e5f7a4d457e9.tar.xz
make lint
Diffstat (limited to 'src/timeline/RoomlistModel.h')
-rw-r--r--src/timeline/RoomlistModel.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/timeline/RoomlistModel.h b/src/timeline/RoomlistModel.h
index bfd640fd..b98a0dba 100644
--- a/src/timeline/RoomlistModel.h
+++ b/src/timeline/RoomlistModel.h
@@ -170,7 +170,10 @@ public slots:
     RoomPreview currentRoomPreview() const { return roomlistmodel->currentRoomPreview(); }
     void setCurrentRoom(QString roomid) { roomlistmodel->setCurrentRoom(std::move(roomid)); }
     void resetCurrentRoom() { roomlistmodel->resetCurrentRoom(); }
-    TimelineModel *getRoomById(const QString &id) const { return roomlistmodel->getRoomById(id).data(); }
+    TimelineModel *getRoomById(const QString &id) const
+    {
+        return roomlistmodel->getRoomById(id).data();
+    }
 
     void nextRoomWithActivity();
     void nextRoom();