web: fix auth session races, ws token drift, and unread clear behavior
Some checks failed
CI / test (push) Failing after 2m20s
Some checks failed
CI / test (push) Failing after 2m20s
This commit is contained in:
@@ -44,7 +44,7 @@ export function ChatsPage() {
|
||||
|
||||
useEffect(() => {
|
||||
if (activeChatId) {
|
||||
void loadMessages(activeChatId);
|
||||
void loadMessages(activeChatId, { markRead: true });
|
||||
}
|
||||
}, [activeChatId, loadMessages]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user