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: Serve PEP avatars from HTTP
---
# Introduction
This module serves avatars from local users who have published
[XEP-0084: User Avatar] via [PEP][doc:modules:mod_pep].
# Configuring
Simply load the module. Avatars are then available at
`http://<host>:5280/pep_avatar/<username>`
modules_enabled = {
...
"http_pep_avatar";
}
# Access
Users must [configure] their Avatar PEP nodes to be public, otherwise
access is denied.
# Compatibility
------- ---------------
trunk Works
0.11 Works
0.10 Does not work
------- ---------------
[configure]: https://xmpp.org/extensions/xep-0060.html#owner-configure