Tedd. Good afternoon.
It is good to read from you.
Thank you for the clarification about server reply.
I think, that I do utilize presence subscription, which is possible
only with contacts in roster.
Eventually, I was advised to collect all resources which are being
detected, and then, when contact is disconnecting and other resources
apparently still online (i.e. upon event "presence-unavailable"), to
check whether each of the rest resources are still online, be it by
utilizing XEP-0030: Service Discovery or XEP-0199: XMPP Ping.
I hope, that it is done properly.
https://git.xmpp-it.net/sch/Slixfeed/commit/382c6ea44c481751af65fdb73a5ec0e…
Again. I thank you for your advise.
Kind regards,
Schimon
On Tue, 19 Aug 2025 12:38:30 +0000
Tedd Sterr <teddsterr(a)outlook.com> wrote:
A bare JID represents the account on the server, not a
currently
in-use resource, so you receive a reply from the server (not the
user's client.)
As with your previous question about presence probes, you seem to
want everything presence subscription is designed for whilst
explicitly avoiding the use of presence subscription, and then you
complain about the problems caused by not using presence
subscription. Surprisingly, the answer is: use presence subscription.