Bump MAM timeout to 20 secs
This commit is contained in:
parent
3b60ced39c
commit
75b923b580
2
dist/converse.js
vendored
2
dist/converse.js
vendored
@ -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
|
||||
|
||||
});
|
||||
|
||||
|
@ -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.
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user