author | Michel Le Bihan <michel@lebihan.pl> |
Sat, 26 May 2018 10:58:06 +0200 | |
changeset 3050 | d0db28768980 |
parent 3049 | 26977c4760f5 |
child 3051 | 7c55f05327a2 |
--- a/mod_vcard_muc/mod_vcard_muc.lua Fri May 25 00:18:46 2018 +0200 +++ b/mod_vcard_muc/mod_vcard_muc.lua Sat May 26 10:58:06 2018 +0200 @@ -87,5 +87,8 @@ module:hook("muc-disco#info", function(event) event.reply:tag("feature", { var = "vcard-temp" }):up(); - broadcast_presence(event.room.jid, event.reply.attr.to); end); + +module:hook("muc-occupant-session-new", function(event) + broadcast_presence(event.room.jid, event.jid); +end)