7b11d85503
- New plugin `converse-smacks` - New config option `enable_smacks` - Rename session cache id from `converse.bosh-session` to `converse.session` - Refactor logout and login as consistently used api methods - Refactor session cache to store per JID Fixes #316
43 lines
1.6 KiB
HTML
43 lines
1.6 KiB
HTML
<!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" />
|
|
<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>
|
|
<script src="dist/converse.js"></script>
|
|
</head>
|
|
|
|
<body class="reset">
|
|
<div id="conversejs-bg"></div>
|
|
<script>
|
|
converse.initialize({
|
|
auto_away: 300,
|
|
i18n: 'en',
|
|
// auto_join_rooms: [
|
|
// 'discuss@conference.conversejs.org',
|
|
// 'prosody@conference.prosody.im',
|
|
// 'jdev@conference.jabber.org'
|
|
// ],
|
|
// bosh_service_url: 'http://chat.example.org:5280/http-bind/',
|
|
websocket_url: 'wss://conversejs.org/xmpp-websocket',
|
|
bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes
|
|
view_mode: 'fullscreen',
|
|
notify_all_room_messages: [
|
|
'discuss@conference.conversejs.org'
|
|
],
|
|
enable_smacks: true,
|
|
muc_respect_autojoin: false,
|
|
message_archiving: 'always',
|
|
debug: true
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|