Commit 75b923b5 authored by JC Brand's avatar JC Brand

Bump MAM timeout to 20 secs

parent 3b60ced3
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment