A collection of config examples and support scripts for Chinwag's XMPP-based messaging service provided for our Mastodon users.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.5 KiB

<!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>