Bump MAM timeout to 20 secs

This commit is contained in:
JC Brand 2018-11-12 19:41:17 +01:00
parent 3b60ced39c
commit 75b923b580
3 changed files with 3 additions and 3 deletions

2
dist/converse.js vendored
View File

@ -74743,7 +74743,7 @@ _converse_core__WEBPACK_IMPORTED_MODULE_2__["default"].plugins.add('converse-mam
archived_messages_page_size: '50',
message_archiving: undefined,
// Supported values are 'always', 'never', 'roster' (https://xmpp.org/extensions/xep-0313.html#prefs)
message_archiving_timeout: 8000 // Time (in milliseconds) to wait before aborting MAM request
message_archiving_timeout: 20000 // Time (in milliseconds) to wait before aborting MAM request
});

View File

@ -885,7 +885,7 @@ archived. The other two values are self-explanatory.
message_archiving_timeout
-------------------------
* Default: ``8000``
* Default: ``20000``
The amount of time (in milliseconds) to wait when requesting archived messages
from the XMPP server.

View File

@ -329,7 +329,7 @@ converse.plugins.add('converse-mam', {
_converse.api.settings.update({
archived_messages_page_size: '50',
message_archiving: undefined, // Supported values are 'always', 'never', 'roster' (https://xmpp.org/extensions/xep-0313.html#prefs)
message_archiving_timeout: 8000, // Time (in milliseconds) to wait before aborting MAM request
message_archiving_timeout: 20000, // Time (in milliseconds) to wait before aborting MAM request
});
_converse.onMAMError = function (iq) {