Added UserId to participant model

This commit is contained in:
Frederick Holland committed 2025-10-19 19:16:41 +11:00
1 parent 643c5cc695
commit 7bf15cce48
3 files changed
+6 -3

No files matched your search

+4 -3
View File
@@ -49,13 +49,14 @@ func ExtractWithoutAttributes(base models.AnalyticsConversationWithoutAttributes
for _, p := range base.Participants {
participant := models.DBParticipant{
ConnectedTime: nil,
ConversationId: base.ConversationId,
EndTime: nil,
// ConnectedTime: nil,
ConversationId: base.ConversationId,
// EndTime: nil,
ExternalContactId: &p.ExternalContactId,
Id: p.ParticipantId,
Name: &p.ParticipantName,
Purpose: &p.Purpose,
UserId: &p.UserId,
}
participants = append(participants, participant)