Commit ea4c4902 authored by JC Brand's avatar JC Brand

bookmarks: bugfix, `deferred` might be null

parent c11a1b40
......@@ -344,7 +344,7 @@
window.sessionStorage.setItem(this.cached_flag, true);
_converse.log('Error while fetching bookmarks');
_converse.log(iq);
if (!_.isUndefined(deferred)) {
if (!_.isNil(deferred)) {
return deferred.reject();
}
}
......
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