From f1c1f18f815d93583f524a89e4c2f5f954b07b43 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Thu, 6 Oct 2022 21:59:59 +0200 Subject: Add a slow way to search a room --- src/timeline/EventStore.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/timeline/EventStore.cpp') diff --git a/src/timeline/EventStore.cpp b/src/timeline/EventStore.cpp index 0b7a7b1b..de813196 100644 --- a/src/timeline/EventStore.cpp +++ b/src/timeline/EventStore.cpp @@ -898,6 +898,7 @@ EventStore::fetchMore() mtx::http::MessagesOpts opts; opts.room_id = room_id_; opts.from = cache::client()->previousBatchToken(room_id_); + opts.limit = 80; nhlog::ui()->debug("Paginating room {}, token {}", opts.room_id, opts.from); -- cgit 1.5.1