xmpp.chapril.org-conversejs/dev.html

47 lines
1.7 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
2020-01-15 11:40:40 +01:00
<title>Converse</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" />
2020-01-15 11:40:40 +01:00
<meta name="description" content="Converse XMPP/Jabber Chat" />
<meta name="author" content="JC Brand" />
<meta name="keywords" content="xmpp chat webchat converse.js" />
2020-01-09 15:43:08 +01:00
<link rel="manifest" href="./manifest.json">
2019-05-14 10:31:51 +02:00
<link rel="shortcut icon" type="image/ico" href="images/favicon.ico"/>
2021-09-06 22:07:51 +02:00
<link type="text/css" rel="stylesheet" media="screen" href="dist/website.css" />
<link type="text/css" rel="stylesheet" media="screen" href="dist/converse.css" />
<script src="https://cdn.conversejs.org/3rdparty/libsignal-protocol.min.js"></script>
2018-06-04 13:46:27 +02:00
<script src="dist/converse.js"></script>
</head>
<body class="reset" style="background-color: var(--global-background-color)">
<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,
2020-04-10 15:39:17 +02:00
enable_smacks: true,
loglevel: 'debug',
prune_messages_above: 100,
2020-04-10 15:39:17 +02:00
message_archiving: 'always',
muc_respect_autojoin: true,
2020-01-10 11:02:40 +01:00
muc_show_logs_before_join: true,
2020-04-10 15:39:17 +02:00
notify_all_room_messages: ['discuss@conference.conversejs.org'],
view_mode: 'fullscreen',
websocket_url: 'wss://conversejs.org/xmpp-websocket',
// websocket_url: 'ws://chat.example.org:5380/xmpp-websocket',
2019-08-10 12:13:05 +02:00
whitelisted_plugins: ['converse-debug'],
});
</script>
</body>
</html>