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" />
|
|
|
|
<link rel="shortcut icon" type="image/ico" href="css/images/favicon.ico"/>
|
2018-05-24 12:52:32 +02:00
|
|
|
<link type="text/css" rel="stylesheet" media="screen" href="css/fullpage.css" />
|
2018-05-24 14:37:52 +02:00
|
|
|
<link type="text/css" rel="stylesheet" media="screen" href="css/converse.css" />
|
2016-09-21 17:24:32 +02:00
|
|
|
<script src="node_modules/requirejs/require.js"></script>
|
2017-02-27 08:42:17 +01:00
|
|
|
<script src="src/config.js"></script>
|
2015-01-01 03:47:29 +01:00
|
|
|
</head>
|
|
|
|
|
2018-05-08 17:48:37 +02:00
|
|
|
<body class="reset">
|
2015-01-01 03:47:29 +01:00
|
|
|
|
|
|
|
<script>
|
|
|
|
require(['converse'], function (converse) {
|
|
|
|
converse.initialize({
|
2016-04-08 10:29:30 +02:00
|
|
|
auto_away: 300,
|
2017-06-14 11:14:42 +02:00
|
|
|
i18n: 'en',
|
2017-06-05 14:50:29 +02:00
|
|
|
// auto_join_rooms: [
|
|
|
|
// 'discuss@conference.conversejs.org',
|
|
|
|
// 'prosody@conference.prosody.im',
|
|
|
|
// 'jdev@conference.jabber.org'
|
|
|
|
// ],
|
2018-05-24 12:44:18 +02:00
|
|
|
websocket_url: 'ws://chat.example.org:5280/xmpp-websocket',
|
2018-05-08 17:48:37 +02:00
|
|
|
view_mode: 'fullscreen',
|
|
|
|
archived_messages_page_size: '500',
|
2018-03-28 13:45:21 +02:00
|
|
|
allow_public_bookmarks: true,
|
2016-06-17 11:30:47 +02:00
|
|
|
notify_all_room_messages: [
|
|
|
|
'discuss@conference.conversejs.org'
|
|
|
|
],
|
2018-05-24 12:44:18 +02:00
|
|
|
bosh_service_url: 'http://chat.example.org:5280/http-bind/',
|
2018-05-23 04:27:33 +02:00
|
|
|
bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes
|
2016-05-31 09:20:36 +02:00
|
|
|
message_archiving: 'always',
|
2015-01-27 15:10:58 +01:00
|
|
|
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>
|