add marker for unread messages

This commit is contained in:
marlon-erler
2024-07-10 15:40:25 +02:00
parent 26aa74923c
commit f68b253bb9
8 changed files with 50 additions and 4 deletions
+1
View File
@@ -160,6 +160,7 @@ export function closeChatView() {
export function selectChat(chat: Chat) {
selectedChat.value = chat;
chat.hasUnreadMessages.value = false;
document.getElementById("message-tab")?.scrollIntoView();
}