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
75b923b5
Commit
75b923b5
authored
Nov 12, 2018
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bump MAM timeout to 20 secs
parent
3b60ced3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
dist/converse.js
dist/converse.js
+1
-1
docs/source/configuration.rst
docs/source/configuration.rst
+1
-1
src/headless/converse-mam.js
src/headless/converse-mam.js
+1
-1
No files found.
dist/converse.js
View file @
75b923b5
...
@@ -74743,7 +74743,7 @@ _converse_core__WEBPACK_IMPORTED_MODULE_2__["default"].plugins.add('converse-mam
...
@@ -74743,7 +74743,7 @@ _converse_core__WEBPACK_IMPORTED_MODULE_2__["default"].plugins.add('converse-mam
archived_messages_page_size: '50',
archived_messages_page_size: '50',
message_archiving: undefined,
message_archiving: undefined,
// Supported values are 'always', 'never', 'roster' (https://xmpp.org/extensions/xep-0313.html#prefs)
// Supported values are 'always', 'never', 'roster' (https://xmpp.org/extensions/xep-0313.html#prefs)
message_archiving_timeout:
8
000 // Time (in milliseconds) to wait before aborting MAM request
message_archiving_timeout:
20
000 // Time (in milliseconds) to wait before aborting MAM request
});
});
docs/source/configuration.rst
View file @
75b923b5
...
@@ -885,7 +885,7 @@ archived. The other two values are self-explanatory.
...
@@ -885,7 +885,7 @@ archived. The other two values are self-explanatory.
message_archiving_timeout
message_archiving_timeout
-------------------------
-------------------------
* Default: ``
8
000``
* Default: ``
20
000``
The amount of time (in milliseconds) to wait when requesting archived messages
The amount of time (in milliseconds) to wait when requesting archived messages
from the XMPP server.
from the XMPP server.
...
...
src/headless/converse-mam.js
View file @
75b923b5
...
@@ -329,7 +329,7 @@ converse.plugins.add('converse-mam', {
...
@@ -329,7 +329,7 @@ converse.plugins.add('converse-mam', {
_converse
.
api
.
settings
.
update
({
_converse
.
api
.
settings
.
update
({
archived_messages_page_size
:
'
50
'
,
archived_messages_page_size
:
'
50
'
,
message_archiving
:
undefined
,
// Supported values are 'always', 'never', 'roster' (https://xmpp.org/extensions/xep-0313.html#prefs)
message_archiving
:
undefined
,
// Supported values are 'always', 'never', 'roster' (https://xmpp.org/extensions/xep-0313.html#prefs)
message_archiving_timeout
:
8
000
,
// Time (in milliseconds) to wait before aborting MAM request
message_archiving_timeout
:
20
000
,
// Time (in milliseconds) to wait before aborting MAM request
});
});
_converse
.
onMAMError
=
function
(
iq
)
{
_converse
.
onMAMError
=
function
(
iq
)
{
...
...
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