diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-07-19 12:43:16 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-07-19 12:43:16 +0200 |
commit | 9f416f1fc9cc3a973159b2a5a84ee668ffbc5063 (patch) | |
tree | 6be480fa634b17cae2c47e15e4985c25b8a47a1b /src/timeline | |
parent | Fix unused state key when iterating room stickers (diff) | |
download | nheko-9f416f1fc9cc3a973159b2a5a84ee668ffbc5063.tar.xz |
Fix only first 7 stickers showing up
Diffstat (limited to 'src/timeline')
-rw-r--r-- | src/timeline/TimelineViewManager.cpp | 2 |
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; } |