From 464f83caeb846b8c55a0153496f7e156a88cc8bb Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Sun, 19 May 2024 18:16:37 -0500 Subject: [PATCH] Remove temp hack --- src/state/messages/convo/agent.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/state/messages/convo/agent.ts b/src/state/messages/convo/agent.ts index 70a03a3f41..df1d9b5ec6 100644 --- a/src/state/messages/convo/agent.ts +++ b/src/state/messages/convo/agent.ts @@ -602,15 +602,6 @@ export class Convo { this.isFetchingHistory = true this.commit() - /* - * Delay if paginating while scrolled to prevent momentum scrolling from - * jerking the list around, plus makes it feel a little more human. - */ - if (this.pastMessages.size > 0) { - await new Promise(y => setTimeout(y, 500)) - // throw new Error('UNCOMMENT TO TEST RETRY') - } - const nextCursor = this.oldestRev // for TS const response = await networkRetry(2, () => { return this.agent.api.chat.bsky.convo.getMessages(