XMPP Extensions Editor wrote:
The XMPP Extensions Editor has received a proposal for a new XEP.

Title: Service Discovery Notifications

Abstract: This document specifies a way to request and receive
notifications regarding service discovery items.

URL: http://www.xmpp.org/extensions/inbox/disco-notifications.html

When I woke up this morning I thought of an alternate way to do this:

1. Requesting entity sends presence to responding entity and includes entity capabilities data, including a namespace of 'http://jabber.org/protocol/disco#items+notify' (indicating that it wishes to receive notifications related to disco#items).

2. Requesting entity sends standard disco#items request (without inclusing pubsub <subscribe/> since the caps data resulted in an implicit, short-lived subscription).

3. Responding entity sends standard disco#items response.

4. Responding entity sends subsequent notifications.

5. When requesting entity goes offline, responding entity receives presence unavailable and terminates short-lived subscription.

Peter

--
Peter Saint-Andre
https://stpeter.im/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to