1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2025-06-20 08:35:17 +00:00

Can mark conversation messages as seen

This commit is contained in:
2019-11-30 15:22:10 +01:00
parent 46f6e15b02
commit c9f25a46ae
2 changed files with 21 additions and 1 deletions

View File

@ -139,7 +139,8 @@ export class ConversationsController {
list["conversation-" + convID] = (await ConversationsHelper.GetLastMessages(convID, 10))
.map(e => this.ConversationMessageToAPI(e));
// TODO : mark the user has seen the messages
// Mark the user has seen the messages
await ConversationsHelper.MarkUserSeen(convID, h.getUserId());
}
}