-
Notifications
You must be signed in to change notification settings - Fork 13.1k
[FIX] Remove all agent subscriptions when an Omnichannel chat is closed #21509
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
[FIX] Remove all agent subscriptions when an Omnichannel chat is closed #21509
Conversation
sampaiodiego
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@renatobecker two questions:
- any special reason to target this to a patch release? from what I understood it is been like this for a long time, seems like a regular fix to be on the next minor release;
- for those agents that stuck on the queue because their subscriptions were not removed, are you not planning to add a migration to clean their queues?
@sampaiodiego you're right, we can wait for the next minor release. |
|
Great, thanks @renatobecker .. the current code looks good, waiting the migration for the final review :) |
@sampaiodiego I just submitted the migration file, this PR is no longer in draft mode. |
When an Omnichannel chat is closed the subscription of the agent who is serving the chat is removed, but other agents may join the conversation and, in that case, the subscriptions of other agents are not removed, hence, the chat gets stuck on their queues and prevent them from taking new chats in the queue.
Now, all room subscriptions will be removed as soon as the chat is closed.
Proposed changes (including videos or screenshots)
Issue(s)
Steps to test or reproduce
Further comments