52 lines
2.0 KiB
HTML
52 lines
2.0 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="css/images/favicon.ico"/>
|
|
<link type="text/css" rel="stylesheet" media="screen" href="css/fullpage.css" />
|
|
<link type="text/css" rel="stylesheet" media="screen" href="css/converse.css" />
|
|
<script src="3rdparty/libsignal-protocol-javascript/dist/libsignal-protocol.js"></script>
|
|
<script src="dist/converse.js"></script>
|
|
</head>
|
|
|
|
<body class="reset">
|
|
<div class="converse-content">
|
|
<div class="inner-content converse-brand row">
|
|
<div class="converse-brand__padding"></div>
|
|
<div class="converse-brand__heading">
|
|
<div class="converse-brand__text"><i class="icon-conversejs"></i>Converse</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
converse.initialize({
|
|
auto_away: 300,
|
|
i18n: 'en',
|
|
// auto_join_rooms: [
|
|
// 'discuss@conference.conversejs.org',
|
|
// 'prosody@conference.prosody.im',
|
|
// 'jdev@conference.jabber.org'
|
|
// ],
|
|
// websocket_url: 'ws://chat.example.org:5280/xmpp-websocket',
|
|
view_mode: 'fullscreen',
|
|
archived_messages_page_size: '500',
|
|
allow_public_bookmarks: true,
|
|
notify_all_room_messages: [
|
|
'discuss@conference.conversejs.org'
|
|
],
|
|
// bosh_service_url: 'http://chat.example.org:5280/http-bind/',
|
|
bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes
|
|
message_archiving: 'always',
|
|
debug: true
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|