2015-01-01 03:47:29 +01: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" />
|
|
|
|
<meta name="author" content="JC Brand" />
|
|
|
|
<meta name="keywords" content="xmpp chat webchat converse.js" />
|
2019-05-14 10:31:51 +02:00
|
|
|
<link rel="shortcut icon" type="image/ico" href="images/favicon.ico"/>
|
2019-05-13 18:50:25 +02:00
|
|
|
<link type="text/css" rel="stylesheet" media="screen" href="dist/converse.css" />
|
2019-03-30 15:57:36 +01:00
|
|
|
<script src="3rdparty/libsignal-protocol.js"></script>
|
2018-06-04 13:46:27 +02:00
|
|
|
<script src="dist/converse.js"></script>
|
2015-01-01 03:47:29 +01:00
|
|
|
</head>
|
|
|
|
|
2018-05-08 17:48:37 +02:00
|
|
|
<body class="reset">
|
2019-01-02 22:26:31 +01:00
|
|
|
<div id="conversejs-bg"></div>
|
2015-01-01 03:47:29 +01:00
|
|
|
<script>
|
2019-08-10 12:13:05 +02:00
|
|
|
|
|
|
|
converse.plugins.add('converse-debug', {
|
|
|
|
initialize () {
|
|
|
|
const { _converse } = this;
|
|
|
|
window._converse = _converse;
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
2018-06-02 17:18:42 +02:00
|
|
|
converse.initialize({
|
|
|
|
auto_away: 300,
|
2019-08-07 10:28:49 +02:00
|
|
|
i18n: 'af',
|
2018-06-02 17:18:42 +02:00
|
|
|
// auto_join_rooms: [
|
|
|
|
// 'discuss@conference.conversejs.org',
|
|
|
|
// 'prosody@conference.prosody.im',
|
|
|
|
// 'jdev@conference.jabber.org'
|
|
|
|
// ],
|
2018-05-29 12:00:23 +02:00
|
|
|
websocket_url: 'wss://conversejs.org/xmpp-websocket',
|
|
|
|
bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes
|
2019-08-10 12:13:05 +02:00
|
|
|
whitelisted_plugins: ['converse-debug'],
|
2018-06-02 17:18:42 +02:00
|
|
|
view_mode: 'fullscreen',
|
|
|
|
notify_all_room_messages: [
|
|
|
|
'discuss@conference.conversejs.org'
|
|
|
|
],
|
2018-05-29 12:00:23 +02:00
|
|
|
enable_smacks: true,
|
2019-07-22 16:36:44 +02:00
|
|
|
muc_respect_autojoin: true,
|
2018-06-02 17:18:42 +02:00
|
|
|
message_archiving: 'always',
|
|
|
|
debug: true
|
2015-01-01 03:47:29 +01:00
|
|
|
});
|
|
|
|
</script>
|
2018-05-08 17:48:37 +02:00
|
|
|
</body>
|
2015-01-01 03:47:29 +01:00
|
|
|
</html>
|