Mercurial > prosody-modules
view mod_measure_registration/mod_measure_registration.lua @ 4299:8006da2cf44c
For deployments that have https://hg.prosody.im/trunk/file/tip/plugins/muc/register.lib.lua#l7 and use https://modules.prosody.im/mod_muc_http_auth.html users can still register to a MUC even if they are not allowed to join. That means they would receive RAI or RMN, for instance.
author | Seve Ferrer <seve@delape.net> |
---|---|
date | Tue, 15 Dec 2020 11:26:29 +0100 |
parents | 32d9d155a9b9 |
children |
line wrap: on
line source
local count_registering = module:measure("user_registering", "rate"); local count_registered = module:measure("user_registered", "rate"); module:hook("user-registering", function () count_registering(); end); module:hook("user-registered", function () count_registered(); end);