Commit 44de8b7d 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 59695fd4
......@@ -8,7 +8,6 @@
<meta name="author" content="JC Brand" />
<meta name="keywords" content="xmpp chat webchat converse.js" />
<link rel="shortcut icon" type="image/ico" href="./dist/favicon.ico"/>
<script type="text/javascript" src="inverse-analytics.js"></script>
<noscript><p><img src="//stats.opkode.com/piwik.php?idsite=5" style="border:0;" alt="" /></p></noscript>
<link rel="manifest" href="./manifest.json">
<link type="text/css" rel="stylesheet" media="screen" href="./dist/converse.min.css" />
......@@ -48,12 +47,19 @@
@licend
*/
converse.initialize({
assets_path: 'dist/',
authentication: 'login',
auto_away: 300,
auto_list_rooms: true,
auto_reconnect: true,
auto_subscribe: true,
bosh_service_url: 'https://mail.nexedi.net/chat/http-bind/',
default_domain: 'nexedi.com',
hide_open_bookmarks: true,
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'
});
</script>
</body>
......
......@@ -13,7 +13,6 @@
<link rel="shortcut icon" type="image/ico" href="/dist/favicon.ico"/>
<link type="text/css" rel="stylesheet" media="screen" href="/dist/website.min.css" />
<noscript><p><img src="//stats.opkode.com/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
<script type="text/javascript" src="analytics.js"></script>
<!-- *********************************************************************** -->
<link rel="manifest" href="./manifest.json">
......
......@@ -27,7 +27,7 @@ export const ConverseBrandHeading = (o) => {
</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>
${ is_fullscreen ? html`<p class="byline">messaging freedom</p>` : '' }
</span>
</span>
......
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