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, });