Software /
code /
prosody-modules
File
mod_invites/README.markdown @ 4065:92152437ecfe
mod_muc_markers: replace configurable multi-marker tracking with better system
Now tracks a single marker, but automatically applies rules from the XEP about
"higher" markers implying "lower" markers - i.e. "displayed" implies "received".
Still, just a single marker is tracked and synthesized at all times (the one
configured with muc_marker_name).
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 07 Jul 2020 17:08:08 +0100 |
parent | 3780:824447fc7759 |
child | 4097:96838617695a |
line wrap: on
line source
This module manages the creation and consumption of invite codes for the host(s) it is loaded onto. It currently does not expose any admin/user-facing functionality (though in the future it will probably gain a way to view/manage pending invites). Other modules can use the API from this module to create invite tokens which can be used to e.g. register accounts or create automatic subscription approvals. # Configuration ``` {.lua} -- Configure the number of seconds a token is valid for (default 7 days) invite_expiry = 86400 * 7 ``` Note that all modules that use this API will automatically load this module, so adding it to modules_enabled is generally not necessary. # Compatibility 0.11 and later.