summary refs log tree commit diff
path: root/src/timeline/RoomlistModel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/timeline/RoomlistModel.h')
-rw-r--r--src/timeline/RoomlistModel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/timeline/RoomlistModel.h b/src/timeline/RoomlistModel.h
index 34bf3f9a..2294864f 100644
--- a/src/timeline/RoomlistModel.h
+++ b/src/timeline/RoomlistModel.h
@@ -197,6 +197,8 @@ public:
         return instance_;
     }
 
+    static FilteredRoomlistModel *instance() { return instance_; }
+
     bool lessThan(const QModelIndex &left, const QModelIndex &right) const override;
     bool filterAcceptsRow(int sourceRow, const QModelIndex &) const override;