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

[NEW] Keep alive on the widget so that we can be notified when the visitor closes the tab #1039

Open
wants to merge 3 commits into
base: develop_pwa
Choose a base branch
from

Conversation

itzzritik
Copy link

@itzzritik itzzritik commented Dec 27, 2021

This PR will add:

  1. New feature to close room if user disconnects (only on desktops).
  2. Switch to turn off this feature.
  3. Detailed logging about the chat state, when the user disconnected.

Note:
While testing the mobile feature on desktop ( as a mobile device from dev tools ), Please first set the window in mobile mode, then open the page (or simple page reload will work too).

As isMobile variable is set during new connection is established.

Required PRs:

Rocket.Chat.js.SDK - PR#4
Apps.Salesforce.LiveAgent - PR#49

Linked Issues:

WideChat/Rocket.Chat - Issue#838
WideChat/Rocket.Chat - Issue#984

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant