Bugfix. Stanza passed in as 2nd parameter

This commit is contained in:
JC Brand 2018-08-08 09:43:32 +02:00
parent 99bdf235dd
commit 8d40d5f108
2 changed files with 2 additions and 2 deletions

2
dist/converse.js vendored
View File

@ -74563,7 +74563,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_
});
_converse.onMAMError = function (iq) {
_converse.onMAMError = function (model, iq) {
if (iq.querySelectorAll('feature-not-implemented').length) {
_converse.log("Message Archive Management (XEP-0313) not supported by this server", Strophe.LogLevel.WARN);
} else {

View File

@ -320,7 +320,7 @@
message_archiving_timeout: 8000, // Time (in milliseconds) to wait before aborting MAM request
});
_converse.onMAMError = function (iq) {
_converse.onMAMError = function (model, iq) {
if (iq.querySelectorAll('feature-not-implemented').length) {
_converse.log(
"Message Archive Management (XEP-0313) not supported by this server",