Skip to content

Comments

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

Open
itzzritik wants to merge 3 commits intodevelop_pwafrom
feature/keep_alive_feature_for_the_widget
Open

[NEW] Keep alive on the widget so that we can be notified when the visitor closes the tab#1039
itzzritik wants to merge 3 commits intodevelop_pwafrom
feature/keep_alive_feature_for_the_widget

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