Refactoring + new embedded chat:

* moving conversejs plugin in separate files
* disconnecting embedded chat on navigation-end
This commit is contained in:
John Livingston
2024-03-27 16:26:32 +01:00
parent 67a1a6e32d
commit 8988a85ec9
8 changed files with 181 additions and 157 deletions

View File

@ -14,10 +14,11 @@
<noscript>You need to enable JavaScript to run the Converse.js chat app.</noscript>
<div id="conversejs-bg" class="theme-peertube"></div>
<script type="text/javascript">
initConversePlugins(false);
initConverse(
{INIT_CONVERSE_PARAMS},
'chat-only'
)
);
</script>
</body>
</html>