Commit fd0c9cec authored by JC Brand's avatar JC Brand

Log the err and call with null, then return.

parent efa4a9ff
...@@ -142,7 +142,9 @@ ...@@ -142,7 +142,9 @@
errback = callback; errback = callback;
} }
if (!converse.features.findWhere({'var': Strophe.NS.MAM})) { if (!converse.features.findWhere({'var': Strophe.NS.MAM})) {
errback('This server does not support XEP-0313, Message Archive Management'); converse.log('This server does not support XEP-0313, Message Archive Management');
errback(null);
return;
} }
var queryid = converse.connection.getUniqueId(); var queryid = converse.connection.getUniqueId();
var attrs = {'type':'set'}; var attrs = {'type':'set'};
......
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