summary refs log tree commit diff
path: root/src/timeline
diff options
context:
space:
mode:
authorJedi18 <targetakhil@gmail.com>2021-02-17 19:51:35 +0530
committerJedi18 <targetakhil@gmail.com>2021-02-17 19:58:41 +0530
commit0b6c82dfffd20a264dd54ee838a33a7e157adb59 (patch)
tree2f5e3226c81f16d21d977892e097fea667ed3161 /src/timeline
parentadd matrix link for completed item (diff)
downloadnheko-0b6c82dfffd20a264dd54ee838a33a7e157adb59.tar.xz
added bool to choose between showing only rooms with aliases and all of the rooms
Diffstat (limited to 'src/timeline')
-rw-r--r--src/timeline/InputBar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp

index 49fa5249..5ef38ac7 100644 --- a/src/timeline/InputBar.cpp +++ b/src/timeline/InputBar.cpp
@@ -19,11 +19,11 @@ #include "MainWindow.h" #include "MatrixClient.h" #include "Olm.h" +#include "RoomsModel.h" #include "TimelineModel.h" #include "TimelineViewManager.h" #include "UserSettingsPage.h" #include "UsersModel.h" -#include "RoomsModel.h" #include "Utils.h" #include "dialogs/PreviewUploadOverlay.h" #include "emoji/EmojiModel.h" @@ -188,7 +188,7 @@ InputBar::completerFor(QString completerName) emojiModel->setParent(proxy); return proxy; } else if (completerName == "room") { - auto roomModel = new RoomsModel(); + auto roomModel = new RoomsModel(true); auto proxy = new CompletionProxyModel(roomModel); roomModel->setParent(proxy); return proxy;