|
@@ -13,7 +13,13 @@
|
|
|
<link type="text/css" rel="stylesheet" media="screen" href="components/fontawesome/css/font-awesome.min.css" />
|
|
|
<link type="text/css" rel="stylesheet" media="screen" href="css/theme.css" />
|
|
|
<link type="text/css" rel="stylesheet" media="screen" href="css/converse.min.css" />
|
|
|
- <script data-main="main" src="components/requirejs/require.js"></script>
|
|
|
+ <!-- Only for development: <script data-main="main" src="components/requirejs/require.js"></script> -->
|
|
|
+ <![if gte IE 9]>
|
|
|
+ <script src="builds/converse.website.min.js"></script>
|
|
|
+ <![endif]>
|
|
|
+ <!--[if lt IE 9]>
|
|
|
+ <script src="builds/converse.website-no-otr.min.js"></script>
|
|
|
+ <![endif]-->
|
|
|
</head>
|
|
|
|
|
|
<body id="page-top" data-spy="scroll" data-target=".navbar-custom">
|
|
@@ -223,7 +229,6 @@
|
|
|
<script type="text/javascript">try { var pageTracker = _gat._getTracker("UA-2128260-8"); pageTracker._trackPageview(); } catch(err) {}</script>
|
|
|
|
|
|
<script>
|
|
|
- // Configuration loaded, so safe to make other require calls.
|
|
|
require(['converse'], function (converse) {
|
|
|
(function () {
|
|
|
/* XXX: This function initializes jquery.easing for the https://conversejs.org
|
|
@@ -249,15 +254,17 @@
|
|
|
})();
|
|
|
|
|
|
converse.initialize({
|
|
|
- auto_subscribe: true,
|
|
|
- bosh_service_url: 'http://conversejs.containers/http-bind', // Please use this connection manager only for testing purposes
|
|
|
- i18n: locales.en, // Refer to ./locale/locales.js to see which locales are supported
|
|
|
+ allow_otr: true,
|
|
|
+ auto_list_rooms: false,
|
|
|
+ auto_subscribe: false,
|
|
|
+ bosh_service_url: 'https://bind.conversejs.org', // Please use this connection manager only for testing purposes
|
|
|
+ hide_muc_server: false,
|
|
|
+ i18n: locales['en'], // Refer to ./locale/locales.js to see which locales are supported
|
|
|
keepalive: true,
|
|
|
play_sounds: true,
|
|
|
- prebind: false,
|
|
|
+ roster_groups: true,
|
|
|
show_controlbox_by_default: true,
|
|
|
- debug: true,
|
|
|
- roster_groups: true
|
|
|
+ xhr_user_search: false
|
|
|
});
|
|
|
});
|
|
|
</script>
|