From 8fbc0a5c626bb6378aa23c17ab2f63c5039648b9 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 31 May 2021 10:46:41 +0200 Subject: [PATCH] Fix Alt+h messing up all buffers --- keybindings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keybindings.js b/keybindings.js index f5b114f..4f1b46a 100644 --- a/keybindings.js +++ b/keybindings.js @@ -13,7 +13,7 @@ export const keybindings = [ var lastMsg = buf.messages[buf.messages.length - 1]; app.setReceipt(buf.name, ReceiptType.READ, lastMsg); } - buffers.set(buf.name, { + buffers.set(buf.id, { ...buf, unread: Unread.NONE, });