Hello,
I want to control the access to the MUC rooms. I need to call my web-service for that or make a mysql query, I can imagine how to implement this in erlang. But it is not clear to me how to integrate this into the ejabberd.
As I understood from mod_muc.erl:do_route, I can't have acl per room. Please correct me if I am wrong.
I can call my web-service from mod_muc:do_route, but I do not want to do this because I do not want to modify ejabberd, if it is possible.
Is there any other more clean way of doing this ?
Thank you in advance.
Hi again. I've just
Hi again.
I've just discovered the mod_filter and modified it a bit. Not sure about the speed, but seems cool =)
Am I right in the way I handle "room joins" ?