view mod_log_sasl_mech/mod_log_sasl_mech.lua @ 3499:a1fc677d0cc8

muc_mam_markers: store chat markers in the Group Chat archives By enabling this module, messages containing XEP-0333 Chat Markers addressed to a Group Chat, will get stored in the archive.
author marc0s <marcos.devera@quobis.com>
date Fri, 29 Mar 2019 17:04:45 +0100
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);