Don't drop unread marker in addMessage
Closes: https://todo.sr.ht/~emersion/gamja/76
This commit is contained in:
parent
b14cddc0d0
commit
6e59a77672
2 changed files with 2 additions and 3 deletions
1
state.js
1
state.js
|
@ -275,6 +275,7 @@ export const State = {
|
|||
offline: false, // if nick
|
||||
messages: [],
|
||||
unread: Unread.NONE,
|
||||
lastReadReceipt: null,
|
||||
});
|
||||
bufferList = bufferList.sort(compareBuffers);
|
||||
let buffers = new Map(bufferList.map((buf) => [buf.id, buf]));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue