Detect Visitor Entering Moderated Room

Is there any callback I can register that will get invoked when a visitor enters a moderated room? It doesn’'t appear that there is, but maybe someone knows how to do this.


I’'mnot sure if its exactly what you are after but the MUC class has an



method which will notify you off any Presence packets being sent to the room. From here you could get the Occupannt of the joined user and get their role in the room. Depending on the role they have you could perform whatever action you wanted to take.