-
-
Notifications
You must be signed in to change notification settings - Fork 835
Expand file tree
/
Copy pathdev.html
More file actions
49 lines (47 loc) · 2.17 KB
/
Copy pathdev.html
File metadata and controls
49 lines (47 loc) · 2.17 KB
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
<!doctype html>
<html lang="en">
<head>
<title>Converse</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 XMPP/Jabber Chat" />
<meta name="author" content="JC Brand" />
<meta name="keywords" content="xmpp chat webchat converse.js" />
<link rel="manifest" href="./manifest.json" />
<link rel="shortcut icon" type="image/ico" href="images/favicon.ico" />
<link type="text/css" rel="stylesheet" media="screen" href="dist/converse.css" />
<script type="module" src="dist/converse.js"></script>
</head>
<body class="reset" style="background-color: var(--global-background-color)">
<script type="module">
converse.plugins.add('converse-debug', {
initialize() {
const { _converse } = this;
window._converse = _converse;
},
});
converse.initialize({
auto_away: 300,
dark_theme: 'cyberpunk',
enable_url_routing: true,
fetch_url_headers: true,
i18n: 'af',
loglevel: 'debug',
message_archiving: 'always',
muc_show_logs_before_join: true,
notify_all_room_messages: ['discuss@conference.conversejs.org'],
register_protocol_handler: true,
show_background: true,
show_controlbox_by_default: true,
theme: 'nordic',
whitelisted_plugins: ['converse-debug'],
// view_mode: 'overlayed',
// bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes
// websocket_url: 'wss://conversejs.org/xmpp-websocket',
// websocket_url: 'ws://chat.example.org:5380/xmpp-websocket',
// connection_options: { worker: '/dist/shared-connection-worker.js' }
});
</script>
</body>
</html>