-
-
Notifications
You must be signed in to change notification settings - Fork 776
/
webpack.html
55 lines (55 loc) · 2.34 KB
/
webpack.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!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" />
<script src="3rdparty/libsignal-protocol.js"></script>
<link rel="manifest" href="./manifest.json">
<link rel="shortcut icon" type="image/ico" href="favicon.ico"/>
<script src="https://cdn.conversejs.org/3rdparty/libsignal-protocol.min.js"></script>
</head>
<body class="reset"></body>
<script>
window.addEventListener('converse-loaded', () => {
converse.plugins.add('converse-debug', {
initialize () {
const { _converse } = this;
window._converse = _converse;
}
});
converse.initialize({
reuse_scram_keys: true,
muc_subscribe_to_rai: true,
theme: 'dracula',
show_send_button: true,
auto_away: 300,
message_limit: 300,
// singleton: true,
// auto_join_rooms: ['[email protected]'],
auto_register_muc_nickname: true,
loglevel: 'debug',
// modtools_disable_assign: ['owner', 'moderator', 'participant', 'visitor'],
// modtools_disable_query: ['moderator', 'participant', 'visitor'],
enable_smacks: true,
// connection_options: { 'worker': '/dist/shared-connection-worker.js' },
// persistent_store: 'IndexedDB',
message_archiving: 'always',
// muc_domain: 'conference.chat.example.org',
muc_respect_autojoin: true,
view_mode: 'fullscreen',
websocket_url: 'ws://chat.example.org:5380/xmpp-websocket',
// websocket_url: 'wss://chat.example.org:5381/xmpp-websocket',
// websocket_url: 'wss://conversejs.org/xmpp-websocket',
// bosh_service_url: 'http://chat.example.org:5280/http-bind',
allow_user_defined_connection_url: true,
muc_show_logs_before_join: true,
whitelisted_plugins: ['converse-debug', 'converse-batched-probe'],
blacklisted_plugins: [],
show_background: true,
});
});
</script>
</html>