Commit e377c9bd authored by JC Brand's avatar JC Brand

Fixes #1712

parent ab9b2d64
......@@ -4,6 +4,7 @@
- Bugfix: Don't treat every duplicate message ID as a message correction; since some
clients don't use globally unique ID's this causes false positives.
- #1712: `TypeError: plugin._features is not a function`
## 5.0.3 (2019-09-13)
......
......@@ -321,7 +321,7 @@ converse.plugins.add('converse-disco', {
}
iqresult.c('identity', attrs).up();
});
plugin._features(feature => iqresult.c('feature', {'var': feature}).up());
plugin._features.forEach(feature => iqresult.c('feature', {'var': feature}).up());
_converse.api.send(iqresult.tree());
return true;
}
......
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