sorry for this maybe stupid question:
does presenceEventListener listen for presence changes of any user? I mean for example, if firstname.lastname@example.org is chatting with me on email@example.com (using WF offcourse), can the it listen for firstname.lastname@example.org’'s presence stat changes?
thank you in advance for any hints.
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.