Commit d5b5bac5 authored by JC Brand's avatar JC Brand

Bugfix. Filter step was removed when converting to async/await

parent b05b5719
......@@ -568,7 +568,8 @@ converse.plugins.add('converse-disco', {
entity.items.map(item => item.hasFeature(feature)),
entity.hasFeature(feature)
);
return Promise.all(promises);
const result = await Promise.all(promises);
return f.filter(f.isObject, result);
},
/**
......
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