From 2634ed949f74fa92616653626abf73ad597870c9 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Sat, 10 Jul 2021 16:00:04 +0100 Subject: [PATCH] Fix Searching's mixing of types --- src/Searching.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Searching.ts b/src/Searching.ts index 95759d8819..37f85efa77 100644 --- a/src/Searching.ts +++ b/src/Searching.ts @@ -125,7 +125,7 @@ async function combinedSearch(searchTerm: string): Promise { const emptyResult: ISeshatSearchResults = { seshatQuery: localQuery, _query: serverQuery, - serverSideNextBatch: serverResponse.next_batch, + serverSideNextBatch: serverResponse.search_categories.room_events.next_batch, cachedEvents: [], oldestEventFrom: "server", results: [], @@ -243,10 +243,10 @@ async function localPagination(searchResult: ISeshatSearchResults): Promise