xmpp.chapril.org-conversejs/dev.html

51 lines
1.7 KiB
HTML
Raw Normal View History

<!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"/>
<link type="text/css" rel="stylesheet" media="screen" href="dist/converse.css" />
<script src="3rdparty/libsignal-protocol.js"></script>
2018-06-04 13:46:27 +02:00
<script src="dist/converse.js"></script>
</head>
<body class="reset">
<div id="conversejs-bg"></div>
<script>
2019-08-10 12:13:05 +02:00
converse.plugins.add('converse-debug', {
initialize () {
const { _converse } = this;
window._converse = _converse;
}
});
converse.initialize({
auto_away: 300,
2019-08-07 10:28:49 +02:00
i18n: 'af',
// auto_join_rooms: [
// 'discuss@conference.conversejs.org',
// 'prosody@conference.prosody.im',
// 'jdev@conference.jabber.org'
// ],
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'],
view_mode: 'fullscreen',
notify_all_room_messages: [
'discuss@conference.conversejs.org'
],
enable_smacks: true,
muc_respect_autojoin: true,
message_archiving: 'always',
loglevel: 'debug'
});
</script>
</body>
</html>