Hi, is there a Listener allowing me to intercept a Presence packet sent to a room? The simple PresenceListener does not seem to work, as presence message has to attribute set to room, and MUCListener has not a presenceChanged method…
Not sure if this’ll help but we use a MUCEventListener which has a hook into a user joining and leaving a room. What are you trying to do with the presence messages?
I’m extending presence packets in order to support a custom extension, problem is that when an user sends a certain presence packet (with related extension, that is a custom state and some other infos) to that room my plugin has to set some internal variables according to that extension’s contents.
I can’t use IQs, as the packet HAS to be a presence too, in order to inform other room users about the change of status.