mod_compat_roles: Fix attempt to index a nil value #1847
permissions[] is not a map with role names as keys since 817bc9873fc2
but instead a level with host names were added. This was likely an
oversight.
Refactored towards railroad.
---
summary: Injects ecaps2 elements (XEP-0390) in presence
---
Description
===========
This module injects [XEP-0390: Entity Capabilities 2.0] elements in the
presence once the legacy caps (XEP-0115) are received.
Compatibility
=============
------- ---------------
trunk Works
0.11 Does not work
0.10 Does not work
------- ---------------