Question about presenceEventListener

hi,

sorry for this maybe stupid question:

does presenceEventListener listen for presence changes of any user? I mean for example, if someguy@gmail.com is chatting with me on myaccount@mysite.com (using WF offcourse), can the it listen for someguy@gmail.com’'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.

Regards,

– Gato

thank you