Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WTEL-4696]: #72

Merged
merged 2 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ require (
github.com/pborman/uuid v1.2.1
github.com/pkg/errors v0.9.1
github.com/streadway/amqp v1.1.0
github.com/webitel/engine v0.0.0-20240703095009-cdc3ac7a5118
github.com/webitel/engine v0.0.0-20240703124144-4b6ca5c48050
github.com/webitel/flow_manager v0.0.0-20240408104238-6ef381ff2d58
github.com/webitel/wlog v0.0.0-20220608103744-93b33e61bd28
golang.org/x/sync v0.6.0
Expand All @@ -24,8 +24,9 @@ require (

require (
buf.build/gen/go/grpc-ecosystem/grpc-gateway/protocolbuffers/go v1.34.2-20231027202514-3f42134f4c56.2 // indirect
buf.build/gen/go/webitel/chat/grpc/go v1.4.0-20240702143950-364c79a4f8d2.2 // indirect
buf.build/gen/go/webitel/chat/protocolbuffers/go v1.34.2-20240702143950-364c79a4f8d2.2 // indirect
buf.build/gen/go/webitel/chat/grpc/go v1.4.0-20240703121916-db3266bbfcd3.2 // indirect
buf.build/gen/go/webitel/chat/protocolbuffers/go v1.34.2-20240703121916-db3266bbfcd3.2 // indirect
buf.build/gen/go/webitel/engine/grpc/go v1.4.0-20240618123100-3e740393d1cc.1 // indirect
buf.build/gen/go/webitel/engine/protocolbuffers/go v1.34.2-20240627112700-3fe53516f45c.2 // indirect
buf.build/gen/go/webitel/webitel-go/grpc/go v1.3.0-20240527133231-c12eb2a85c36.3 // indirect
buf.build/gen/go/webitel/webitel-go/protocolbuffers/go v1.34.1-20240527133231-c12eb2a85c36.1 // indirect
Expand Down
2 changes: 1 addition & 1 deletion queue/chat_inbound.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func (queue *InboundChatQueue) process(attempt *Attempt, inviterId, invUserId st
if queue.settings.MaxIdleDialog > 0 && aSess != nil && conv.SilentSec() >= queue.settings.MaxIdleDialog {
attempt.Log("max idle dialog")
attempt.SetResult(AttemptResultDialogTimeout)
aSess.Leave("todo silence timeout")
aSess.Leave(model.SilenceTimeout)
break
}

Expand Down
Loading