Fix last read inbox id pointing to non-existent message (#3482)
This commit is contained in:
parent
3b0f03e012
commit
20f8dedf8c
@ -287,6 +287,10 @@ addActionHandler('apiUpdate', (global, actions, update): ActionReturnType => {
|
||||
});
|
||||
}
|
||||
|
||||
global = updateChat(global, chatId, {
|
||||
lastReadInboxMessageId: message.id,
|
||||
});
|
||||
|
||||
setGlobal(global);
|
||||
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user