Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
a57d0e98
Commit
a57d0e98
authored
Oct 03, 2013
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sort default values
parent
e4c9fcbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
converse.js
converse.js
+6
-4
No files found.
converse.js
View file @
a57d0e98
...
...
@@ -43,6 +43,8 @@
}(
this
,
function
(
$
,
_
,
crypto
,
otr
,
console
)
{
var
converse
=
{};
converse
.
initialize
=
function
(
settings
,
callback
)
{
var
converse
=
this
;
// Constants
var
UNENCRYPTED
=
0
;
var
UNVERIFIED
=
1
;
...
...
@@ -53,17 +55,15 @@
};
// Default values
var
converse
=
this
;
this
.
allow_muc
=
true
;
this
.
allow_otr
=
true
;
this
.
animate
=
true
;
this
.
auto_list_rooms
=
false
;
this
.
auto_subscribe
=
false
;
this
.
bosh_service_url
=
undefined
;
// The BOSH connection manager URL.
this
.
callback
=
callback
||
function
()
{};
this
.
debug
=
false
;
this
.
hide_muc_server
=
false
;
this
.
i18n
=
locales
.
en
;
this
.
allow_otr
=
true
;
this
.
allow_muc
=
true
;
this
.
prebind
=
false
;
this
.
show_controlbox_by_default
=
false
;
this
.
show_toolbar
=
true
;
...
...
@@ -71,6 +71,8 @@
this
.
xhr_custom_status
=
false
;
this
.
xhr_user_search
=
false
;
this
.
callback
=
callback
||
function
()
{};
// Allow only the whitelisted settings attributes to be overwritten,
// nothing else.
whitelist
=
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment