Skip to content

Commit

Permalink
Merge pull request #65 from webitel/v24.04
Browse files Browse the repository at this point in the history
DEV-4207
  • Loading branch information
navrotskyj authored Jun 13, 2024
2 parents 5ec6b79 + 9ecd90f commit a7ad293
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 a7ad293

Please sign in to comment.