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" />
|
|
|
|
<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({
|
|
|
|
auto_register_muc_nickname: true,
|
|
|
|
enable_smacks: true,
|
|
|
|
auto_away: 300,
|
2019-10-06 11:04:47 +02:00
|
|
|
i18n: 'en',
|
2019-08-23 13:19:05 +02:00
|
|
|
view_mode: 'fullscreen',
|
|
|
|
muc_respect_autojoin: true,
|
|
|
|
bosh_service_url: 'http://chat.example.org:5380/http-bind/',
|
|
|
|
websocket_url: 'ws://chat.example.org:5380/xmpp-websocket',
|
|
|
|
whitelisted_plugins: ['converse-debug'],
|
|
|
|
muc_domain: 'conference.chat.example.org',
|
|
|
|
message_archiving: 'always',
|
|
|
|
debug: true,
|
|
|
|
jid: 'klaus.dresner@chat.example.org',
|
|
|
|
password: 'secret',
|
|
|
|
auto_login: true
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</html>
|