Good day.
I am working on a news service for XMPP, which sends messages according
to status.
When JID is offline, service should stop.
Resources
---------
As XMPP is presence oriented, it is needed to set extra measures, such
as collecting detected resources, in order to be certain that a subject
JID is indeed offline.
This measure is still tested.
Signals
-------
I am experimenting with XEP-0199: XMPP Ping as a possible mean to
confirm that an account is offline.
However, while asking for a pong signal from a full JID (JID with a
resource) returns an empty respond, asking for a pong signal appear to
always to work when querying a bare JID (JID without a resource).
PONG: sch(a)pimux.de/gajim.TN7Y65AS None
PONG: sch(a)pimux.de 0.09115195274353027
PONG: sch(a)pimux.de/gajim.TN7Y65AS None
PONG: sch(a)pimux.de 0.10207772254943848
My expectation was to have no respond for bare JID, when there is no
connected instance to a given JID.
Please advise.
Kind reagrds,
Schimon