2019-08-23 13:19:05 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<title>Converse.js</title>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<meta name="description" content="Converse.js: A free chat client for your website" />
|
2020-01-23 10:18:41 +01:00
|
|
|
<script src="3rdparty/libsignal-protocol.js"></script>
|
2020-01-09 15:43:08 +01:00
|
|
|
<link rel="manifest" href="./manifest.json">
|
2019-08-23 13:19:05 +02:00
|
|
|
<link rel="shortcut icon" type="image/ico" href="favicon.ico"/>
|
2020-06-08 12:12:49 +02:00
|
|
|
<script src="https://cdn.conversejs.org/3rdparty/libsignal-protocol.min.js"></script>
|
2019-08-23 13:19:05 +02:00
|
|
|
</head>
|
|
|
|
<body class="reset"></body>
|
|
|
|
<script>
|
|
|
|
converse.plugins.add('converse-debug', {
|
|
|
|
initialize () {
|
|
|
|
const { _converse } = this;
|
|
|
|
window._converse = _converse;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
converse.initialize({
|
2020-09-03 09:51:39 +02:00
|
|
|
// root: new DocumentFragment(),
|
2020-01-10 13:04:05 +01:00
|
|
|
show_send_button: true,
|
2019-10-06 12:48:05 +02:00
|
|
|
auto_away: 300,
|
2019-08-23 13:19:05 +02:00
|
|
|
auto_register_muc_nickname: true,
|
2019-11-28 17:01:08 +01:00
|
|
|
loglevel: 'debug',
|
2020-02-22 21:12:40 +01:00
|
|
|
modtools_disable_assign: ['owner', 'moderator', 'participant', 'visitor'],
|
|
|
|
modtools_disable_query: ['moderator', 'participant', 'visitor'],
|
2019-08-23 13:19:05 +02:00
|
|
|
enable_smacks: true,
|
2020-08-16 23:33:17 +02:00
|
|
|
i18n: 'af',
|
2020-06-03 17:59:41 +02:00
|
|
|
// connection_options: { 'worker': '/dist/shared-connection-worker.js' },
|
2019-10-06 12:48:05 +02:00
|
|
|
message_archiving: 'always',
|
|
|
|
muc_domain: 'conference.chat.example.org',
|
2019-08-23 13:19:05 +02:00
|
|
|
muc_respect_autojoin: true,
|
2020-08-26 16:07:59 +02:00
|
|
|
// view_mode: 'fullscreen',
|
2019-08-23 13:19:05 +02:00
|
|
|
websocket_url: 'ws://chat.example.org:5380/xmpp-websocket',
|
2019-12-03 11:31:28 +01:00
|
|
|
// bosh_service_url: 'http://chat.example.org:5280/http-bind',
|
2019-11-28 17:01:08 +01:00
|
|
|
muc_show_logs_before_join: true,
|
2020-04-24 17:33:32 +02:00
|
|
|
whitelisted_plugins: ['converse-debug', 'converse-batched-probe'],
|
2019-08-23 13:19:05 +02:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</html>
|