add marker for unread messages
This commit is contained in:
@@ -160,6 +160,7 @@ export function closeChatView() {
|
||||
|
||||
export function selectChat(chat: Chat) {
|
||||
selectedChat.value = chat;
|
||||
chat.hasUnreadMessages.value = false;
|
||||
document.getElementById("message-tab")?.scrollIntoView();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user