refactor: update visitor references to guest in WebSocket service and related files
This commit is contained in:
@@ -38,7 +38,7 @@ func BuildConversation(item *models.Conversation) response.ConversationResponse
|
||||
AgentLastReadMessageID: readStateMessageID(agentReadState),
|
||||
AgentLastReadSeqNo: readStateSeqNo(agentReadState),
|
||||
AgentLastReadAt: readStateAt(agentReadState),
|
||||
CustomerOnline: services.WsService.IsVisitorOnline(item.ExternalID),
|
||||
CustomerOnline: services.WsService.IsGuestOnline(item.ExternalID),
|
||||
ClosedAt: utils.FormatTimePtr(item.ClosedAt),
|
||||
ClosedBy: item.ClosedBy,
|
||||
CloseReason: item.CloseReason,
|
||||
|
||||
Reference in New Issue
Block a user