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>
|
|
|
|
converse.plugins.add('converse-debug', {
|
|
|
|
initialize () {
|
|
|
|
const { _converse } = this;
|
|
|
|
window._converse = _converse;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
converse.initialize({
|
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,
|
2019-10-06 11:04:47 +02:00
|
|
|
i18n: 'en',
|
2019-10-06 12:48:05 +02:00
|
|
|
message_archiving: 'always',
|
2020-01-15 14:57:50 +01:00
|
|
|
persistent_store: 'IndexedDB',
|
2019-10-06 12:48:05 +02:00
|
|
|
muc_domain: 'conference.chat.example.org',
|
2019-08-23 13:19:05 +02:00
|
|
|
muc_respect_autojoin: true,
|
2020-02-18 23:04:30 +01: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,
|
2019-08-23 13:19:05 +02:00
|
|
|
whitelisted_plugins: ['converse-debug'],
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</html>
|