diff --git a/src/plugins/interactionKeybinds.ts b/src/plugins/interactionKeybinds.ts index 9c187b1..3f6c7b4 100644 --- a/src/plugins/interactionKeybinds.ts +++ b/src/plugins/interactionKeybinds.ts @@ -89,7 +89,7 @@ function getNextMessage(isUp: boolean, isReply: boolean) { else editIdx = i = mutate(editIdx); - return i === - 1 ? undefined : messages.at(-i - 1); + return i === - 1 ? undefined : messages[messages.length - i - 1]; } // handle next/prev reply