2
0

webpack.html 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>Converse.js</title>
  5. <meta charset="utf-8">
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  8. <meta name="description" content="Converse.js: A free chat client for your website" />
  9. <script src="3rdparty/libsignal-protocol.js"></script>
  10. <link rel="manifest" href="./manifest.json">
  11. <link rel="shortcut icon" type="image/ico" href="favicon.ico"/>
  12. </head>
  13. <body class="reset"></body>
  14. <script>
  15. converse.plugins.add('converse-debug', {
  16. initialize () {
  17. const { _converse } = this;
  18. window._converse = _converse;
  19. }
  20. });
  21. converse.initialize({
  22. show_send_button: true,
  23. auto_away: 300,
  24. auto_register_muc_nickname: true,
  25. loglevel: 'debug',
  26. modtools_disable_assign: ['owner', 'moderator', 'participant', 'visitor'],
  27. modtools_disable_query: ['moderator', 'participant', 'visitor'],
  28. enable_smacks: true,
  29. i18n: 'en',
  30. message_archiving: 'always',
  31. persistent_store: 'IndexedDB',
  32. muc_domain: 'conference.chat.example.org',
  33. muc_respect_autojoin: true,
  34. view_mode: 'fullscreen',
  35. websocket_url: 'ws://chat.example.org:5380/xmpp-websocket',
  36. // bosh_service_url: 'http://chat.example.org:5280/http-bind',
  37. muc_show_logs_before_join: true,
  38. whitelisted_plugins: ['converse-debug'],
  39. });
  40. </script>
  41. </html>