mod_pubsub_text_interface: Reflect XEP-0334 hints
Helps testing without bothering your other clients.
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);