Mercurial > prosody-modules
view mod_log_sasl_mech/mod_log_sasl_mech.lua @ 5113:85a7304cfea1
mod_pubsub_mqtt: Support atom_title payload type
This commit adds the ability to publish and subscribe with arbitrary payload
types. It has a breaking change, which is that topics are now of the form:
HOST/TYPE/NODE
Currently supported types are utf8_data, json and atom_title.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 16 Dec 2022 22:16:45 +0000 |
parents | 4baaa5a66a5a |
children | 5ff8022466ab |
line wrap: on
line source
module:hook("authentication-success", function (event) local session = event.session; local sasl_handler = session.sasl_handler; session.log("info", "Authenticated with %s", sasl_handler and sasl_handler.selected or "legacy auth"); end);