Commit fc8314b9 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

Customize for Nexedi

 * set the following options
   - auto_list_rooms: true
   - time_format: 'HH:mm:ss'
   - notification_delay: 0 # message notifications stay forever
   - default_domain : 'nexedi.com'
 * enable mobile mode based on user agent
 * "Converse for Nexedi" on login page
parent 32c4ed16
......@@ -44,10 +44,18 @@
converse.initialize({
authentication: 'login',
auto_away: 300,
auto_list_rooms: true,
auto_reconnect: true,
bosh_service_url: 'https://mail.nexedi.net/chat/http-bind/',
default_domain: 'nexedi.com',
message_archiving: 'always',
view_mode: 'fullscreen'
notification_delay: 0,
time_format: 'HH:mm:ss',
view_mode: /Android|webOS|iPhone|iPad|iPod|Opera Mini/i.test(navigator.userAgent) ? 'mobile' : 'fullscreen'
}).then(function () {
setTimeout(function () {
document.querySelector('.converse-content').style = '';
}, 1000);
});
</script>
</body>
......
......@@ -21,7 +21,7 @@
</g>
</svg>
<span class="brand-name">
<span class="brand-name__text">converse<span class="subdued">.js</span></span>
<span class="brand-name__text">converse<span class="subdued">.js</span> for Nexedi</span>
<p class="byline">messaging freedom</p>
</span>
</h1>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment