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
9cce0ff6
Commit
9cce0ff6
authored
Mar 01, 2016
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add plugin settings to default settings.
So that they are retrievable via the API.
parent
14c66ff7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
0 deletions
+5
-0
src/converse-controlbox.js
src/converse-controlbox.js
+1
-0
src/converse-muc.js
src/converse-muc.js
+1
-0
src/converse-otr.js
src/converse-otr.js
+1
-0
src/converse-ping.js
src/converse-ping.js
+1
-0
src/converse-register.js
src/converse-register.js
+1
-0
No files found.
src/converse-controlbox.js
View file @
9cce0ff6
...
...
@@ -172,6 +172,7 @@
var
settings
=
{
show_controlbox_by_default
:
false
,
};
_
.
extend
(
converse
.
default_settings
,
settings
);
_
.
extend
(
converse
,
settings
);
_
.
extend
(
converse
,
_
.
pick
(
converse
.
user_settings
,
Object
.
keys
(
settings
)));
...
...
src/converse-muc.js
View file @
9cce0ff6
...
...
@@ -209,6 +209,7 @@
hide_muc_server
:
false
,
muc_history_max_stanzas
:
undefined
,
// Takes an integer, limits the amount of messages to fetch from chat room's history
};
_
.
extend
(
converse
.
default_settings
,
settings
);
_
.
extend
(
converse
,
settings
);
_
.
extend
(
converse
,
_
.
pick
(
converse
.
user_settings
,
Object
.
keys
(
settings
)));
...
...
src/converse-otr.js
View file @
9cce0ff6
...
...
@@ -488,6 +488,7 @@
cache_otr_key
:
false
,
use_otr_by_default
:
false
};
_
.
extend
(
converse
.
default_settings
,
settings
);
_
.
extend
(
converse
,
settings
);
_
.
extend
(
converse
,
_
.
pick
(
converse
.
user_settings
,
Object
.
keys
(
settings
)));
...
...
src/converse-ping.js
View file @
9cce0ff6
...
...
@@ -50,6 +50,7 @@
var
settings
=
{
ping_interval
:
180
//in seconds
};
_
.
extend
(
converse
.
default_settings
,
settings
);
_
.
extend
(
converse
,
settings
);
_
.
extend
(
converse
,
_
.
pick
(
converse
.
user_settings
,
Object
.
keys
(
settings
)));
...
...
src/converse-register.js
View file @
9cce0ff6
...
...
@@ -87,6 +87,7 @@
domain_placeholder
:
__
(
"
e.g. conversejs.org
"
),
// Placeholder text shown in the domain input on the registration form
providers_link
:
'
https://xmpp.net/directory.php
'
,
// Link to XMPP providers shown on registration page
};
_
.
extend
(
converse
.
default_settings
,
settings
);
_
.
extend
(
converse
,
settings
);
_
.
extend
(
converse
,
_
.
pick
(
converse
.
user_settings
,
Object
.
keys
(
settings
)));
...
...
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