Skip to content

Conversation

@renatobecker
Copy link
Contributor

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

@renatobecker renatobecker added this to the 3.13.2 milestone Apr 9, 2021
@renatobecker renatobecker requested review from a team and murtaza98 April 9, 2021 17:51
Copy link
Member

@sampaiodiego sampaiodiego left a 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?

@renatobecker renatobecker modified the milestones: 3.13.2, 3.14.0 Apr 9, 2021
@renatobecker
Copy link
Contributor Author

@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.
Regarding migration, yes, it requires a migration which I'll add here too. I'll set this PR as a draft in order to prevent any incomplete merge.

@renatobecker renatobecker marked this pull request as draft April 9, 2021 21:08
@sampaiodiego
Copy link
Member

Great, thanks @renatobecker .. the current code looks good, waiting the migration for the final review :)

@renatobecker renatobecker marked this pull request as ready for review April 12, 2021 20:47
@renatobecker
Copy link
Contributor Author

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.
Thanks!

murtaza98
murtaza98 previously approved these changes Apr 19, 2021
@sampaiodiego sampaiodiego merged commit ff6a8ec into develop Apr 20, 2021
@sampaiodiego sampaiodiego deleted the omnichannel/remove-agent-subscriptions-after-closing-room branch April 20, 2021 19:10
@sampaiodiego sampaiodiego mentioned this pull request Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants