feat(conversations): align last seen reads

This commit is contained in:
2026-06-07 11:33:08 +08:00
parent 6b6289f896
commit 5ae2d7fec9
5 changed files with 192 additions and 17 deletions
@@ -930,7 +930,7 @@ func (h *ConversationHandler) UpdateLastSeen(c *gin.Context) {
if !ok {
return
}
svcErr := h.conversationSvc.UpdateLastSeen(c.Request.Context(), accountID, conversation.ID)
svcErr := h.conversationSvc.UpdateLastSeen(c.Request.Context(), accountID, conversation.ID, currentUserID(c))
if svcErr != nil {
handleServiceError(c, svcErr)
return