summary refs log tree commit diff
path: root/src/timeline
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-07-19 12:43:16 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-07-19 12:43:16 +0200
commit9f416f1fc9cc3a973159b2a5a84ee668ffbc5063 (patch)
tree6be480fa634b17cae2c47e15e4985c25b8a47a1b /src/timeline
parentFix unused state key when iterating room stickers (diff)
downloadnheko-9f416f1fc9cc3a973159b2a5a84ee668ffbc5063.tar.xz
Fix only first 7 stickers showing up
Diffstat (limited to 'src/timeline')
-rw-r--r--src/timeline/TimelineViewManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/TimelineViewManager.cpp b/src/timeline/TimelineViewManager.cpp
index ec1b3573..3e69f92b 100644
--- a/src/timeline/TimelineViewManager.cpp
+++ b/src/timeline/TimelineViewManager.cpp
@@ -597,7 +597,7 @@ TimelineViewManager::completerFor(QString completerName, QString roomId)
                 return proxy;
         } else if (completerName == "stickers") {
                 auto stickerModel = new ImagePackModel(roomId.toStdString(), true);
-                auto proxy        = new CompletionProxyModel(stickerModel);
+                auto proxy = new CompletionProxyModel(stickerModel, 1, static_cast<size_t>(-1) / 4);
                 stickerModel->setParent(proxy);
                 return proxy;
         }