diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/interactionKeybinds.ts | 2 |
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 |