mastodon-xmpp-setup/www/index.html

47 lines
1.5 KiB
HTML
Raw Permalink Normal View History

2021-02-26 09:45:51 +11:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Social Chat</title>
<link rel="shortcut icon" type="image/ico" href="css/images/favicon.ico"/>
<link rel="stylesheet" type="text/css" media="screen" href="https://cdn.conversejs.org/7.0.4/dist/converse.min.css">
<script src="js/libsignal-protocol.js"></script>
<script src="https://cdn.conversejs.org/7.0.4/dist/converse.min.js" charset="utf-8"></script>
</head>
<body class="reset">
<div class="converse-content" style="display:none">
<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>
</body>
<script>
converse.initialize({
//bosh_service_url: 'https://chat.chinwag.org/bosh',
websocket_url: 'wss://chat.chinwag.org:443/ws',
authentication: 'login',
allow_registration: false,
auto_away: 300,
auto_join_rooms: ['beergarden@rooms.chinwag.org'],
auto_list_rooms: true,
auto_reconnect: true,
discover_connection_methods: false,
domain_placeholder: 'chinwag.org',
keepalive: true,
locked_domain: 'chinwag.org',
message_archiving: 'always',
message_carbons: true,
muc_domain: 'rooms.chinwag.org',
muc_nickname_from_jid: true,
muc_show_join_leave: false,
persistent_store: 'IndexedDB',
theme: 'concord',
use_system_emojis: false,
view_mode: 'fullscreen'
});
</script>
</html>