Muc events not firing

#1

I have successfully configured speakerstats component using this guide

putting log inside mod_speakerstats_component.lua ( at the beginning of file ) registers log in /var/log/prosody/prosody.log too.

but whenever any event occurres, respective function calls are not firing.

I did put log inside room_destroyed function of mod_speakerstats_component.lua, but it’s not working.