Skip to content

Commit

Permalink
DEV-4207
Browse files Browse the repository at this point in the history
  • Loading branch information
i.navrotskyj committed Jun 13, 2024
1 parent 9c351d2 commit 9ecd90f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion queue/chat_inbound.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,13 @@ func (queue *InboundChatQueue) process(attempt *Attempt, inviterId, invUserId st
conv, err = queue.ChatManager().NewConversation(queue.domainId, *attempt.MemberCallId(), inviterId, invUserId,
model.UnionStringMaps(attempt.ExportVariables(), queue.variables))
if err != nil {
//FIXME
attempt.Log(err.Error())
queue.queueManager.Abandoned(attempt)
go func() {
attempt.Emit(AttemptHookLeaving)
attempt.Off("*")
}()
return
}

loop := conv.Active()
Expand Down

0 comments on commit 9ecd90f

Please sign in to comment.