[021] XenForo WebSockets

xF2 Add-on [021] XenForo WebSockets 2.0.2

No permission to download
Fixed
  • On forums with closed access for guests, certain scenarios required a websocket connection, but this did not occur due to viewing permissions check
The getWebsocketsPromise method has been introduced, which allows you to execute code after the XF.Echo and XF.EchoManager objects are ready to work. This method should improve the stability of add-ons based on XenForo WebSockets.

Support for the Keep Alive XenForo system that updates the CSRF token when a tab is restored in browsers on mobile devices. This will get rid of such errors: Cookie Required To Use This Site, Security Error.
Note: After this update, you need to grant permission to use WebSockets to user groups who should have this permission.

Added permission to use WebSockets.
Permissions (1).png
  • Like
Reactions: BattleKing
Prevented error output on the user side in case of problems with the websocket server
Fixed:
In some cases, the channel name could be parsed incorrectly.
  • Like
Reactions: BattleKing
Removed check for installed soketi on the server when installing daemons
Added /bin/bash prefix to avoid "Executable path is not absolute, ignoring" error
  • Like
Reactions: BattleKing
Top