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"/>
|
|
|
|
</head>
|
|
|
|
<body class="reset"></body>
|
|
|
|
<script>
|
2021-05-06 11:44:16 +02:00
|
|
|
window.addEventListener('converse-loaded', () => {
|
|
|
|
converse.plugins.add('converse-debug', {
|
|
|
|
initialize () {
|
|
|
|
const { _converse } = this;
|
|
|
|
window._converse = _converse;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
converse.initialize({
|
|
|
|
muc_subscribe_to_rai: true,
|
|
|
|
theme: 'concord',
|
|
|
|
show_send_button: true,
|
|
|
|
auto_away: 300,
|
|
|
|
message_limit: 300,
|
2021-11-24 21:52:40 +01:00
|
|
|
// singleton: true,
|
|
|
|
// auto_join_rooms: ['ttt@conference.chat.example.org'],
|
2021-05-06 11:44:16 +02:00
|
|
|
auto_register_muc_nickname: true,
|
|
|
|
loglevel: 'debug',
|
2021-07-27 12:01:12 +02:00
|
|
|
// modtools_disable_assign: ['owner', 'moderator', 'participant', 'visitor'],
|
|
|
|
// modtools_disable_query: ['moderator', 'participant', 'visitor'],
|
2021-05-06 11:44:16 +02:00
|
|
|
enable_smacks: true,
|
2021-06-03 12:10:30 +02:00
|
|
|
// connection_options: { 'worker': '/dist/shared-connection-worker.js' },
|
2021-06-15 12:17:02 +02:00
|
|
|
// persistent_store: 'IndexedDB',
|
2021-05-06 11:44:16 +02:00
|
|
|
message_archiving: 'always',
|
|
|
|
muc_domain: 'conference.chat.example.org',
|
|
|
|
muc_respect_autojoin: true,
|
|
|
|
view_mode: 'fullscreen',
|
2021-12-04 23:42:42 +01:00
|
|
|
// websocket_url: 'ws://chat.example.org:5380/xmpp-websocket',
|
2021-05-06 11:44:16 +02:00
|
|
|
// bosh_service_url: 'http://chat.example.org:5280/http-bind',
|
2021-12-04 23:42:42 +01:00
|
|
|
allow_user_defined_connection_url: true,
|
2021-05-06 11:44:16 +02:00
|
|
|
muc_show_logs_before_join: true,
|
|
|
|
whitelisted_plugins: ['converse-debug', 'converse-batched-probe'],
|
2021-06-02 23:52:16 +02:00
|
|
|
blacklisted_plugins: [],
|
2021-05-06 11:44:16 +02:00
|
|
|
});
|
2019-08-23 13:19:05 +02:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</html>
|