Fix Alt+h messing up all buffers

This commit is contained in:
Simon Ser 2021-05-31 10:46:41 +02:00
parent b0671fe336
commit 8fbc0a5c62

View file

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