Question about presenceEventListener


sorry for this maybe stupid question:

does presenceEventListener listen for presence changes of any user? I mean for example, if is chatting with me on (using WF offcourse), can the it listen for’'s presence stat changes?

thank you in advance for any hints.

Hey ma2ty,

The PresenceEventListener only triggers events for local users. Note that the concept of sessions, mentioned in the documentation, only applies to users that are directly connected to the server.

To keep track of presences of users connected to other servers (i.e. remote users) you will need to be subscribed to the presences of the remote users you are interested in.


– Gato

thank you