refactor: enhance conversation handling and websocket integration with new team ID support

This commit is contained in:
mlogclub
2026-05-09 22:05:34 +08:00
parent 44558a873c
commit d30e211996
12 changed files with 409 additions and 68 deletions
+1
View File
@@ -426,6 +426,7 @@ func (s *wsService) PublishConversationChanged(conversation *models.Conversation
Status: conversation.Status,
ServiceMode: conversation.ServiceMode,
CurrentAssigneeID: conversation.CurrentAssigneeID,
CurrentTeamID: conversation.CurrentTeamID,
LastMessageID: conversation.LastMessageID,
LastMessageAt: formatWsTime(&conversation.LastMessageAt),
LastActiveAt: formatWsTime(&conversation.LastActiveAt),