aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/interactionKeybinds.ts2
1 files changed, 1 insertions, 1 deletions
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