diff mod_muc_occupant_id/mod_muc_occupant_id.lua @ 3835:5258f0afa8b4

mod_muc_occupant_id: Add <occupant-id/> in presence
author Maxime “pep” Buquet <pep@bouah.net>
date Sat, 04 Jan 2020 19:48:35 +0100
parents 2f189f022b84
children 7440cffe30e2
line wrap: on
line diff
--- a/mod_muc_occupant_id/mod_muc_occupant_id.lua	Sat Jan 04 19:47:55 2020 +0100
+++ b/mod_muc_occupant_id/mod_muc_occupant_id.lua	Sat Jan 04 19:48:35 2020 +0100
@@ -46,5 +46,6 @@
 	event.reply:tag("feature", { var = xmlns_occupant_id }):up();
 end);
 
+module:hook("muc-broadcast-presence", update_occupant);
 module:hook("muc-occupant-pre-join", update_occupant);
 module:hook("muc-occupant-groupchat", update_occupant);