mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-22 01:02:17 -05:00
removed Notifying Owners use case
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@2167 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
10bfd99295
commit
5569bdec3d
24
xep-0060.xml
24
xep-0060.xml
@ -4452,30 +4452,6 @@ And by opposing end them?
|
|||||||
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
|
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
|
||||||
<subscription node='princely_musings' jid='polonius@denmark.lit' subscription='none'/>
|
<subscription node='princely_musings' jid='polonius@denmark.lit' subscription='none'/>
|
||||||
</pubsub>
|
</pubsub>
|
||||||
</message>
|
|
||||||
]]></example>
|
|
||||||
</section3>
|
|
||||||
<section3 topic='Notifying Owners' anchor='owner-affiliations-notifyowners'>
|
|
||||||
<p>If the node is configured to support the "pubsub#notify_sub" option, the service MUST send to the node owners notifications regarding new subscribers, SHOULD send notifications regarding unsubscribe actions, and MAY send notifications regarding other subscription changes. The relationship between these notifications and the retrieval of the subscriptions list as described under <link url='#owner-subscriptions-retrieve'>Retrieve Subscriptions List</link> is similar to the relationship between a "roster get" and a "roster push" as described in &xmppim;.</p>
|
|
||||||
<p>In particular, the notification consists of a &MESSAGE; stanza containing a <pubsub/> element qualified by the 'http://jabber.org/protocol/pubsub#owner' namespace, which contains a <subscriptions/>l element whose 'node' attribute specifies the NodeID of the relevant node; this <subscriptions/> element in turn contains one <subscription/> element whose 'jid' attribute specifies the address of the subscriber and whose 'subscription' attribute specifies the suubscription state.</p>
|
|
||||||
<p>For instance, the following example shows a new subscriber notification.</p>
|
|
||||||
<example caption='Service sends new subscriber notification to owner'><![CDATA[
|
|
||||||
<message from='pubsub.shakespeare.lit' to='hamlet@denmark.lit'>
|
|
||||||
<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
|
|
||||||
<subscriptions node='princely_musings'>
|
|
||||||
<subscription jid='polonius@denmark.lit' subscription='subscribed'/>
|
|
||||||
</subscriptions>
|
|
||||||
</pubsub>
|
|
||||||
</message>
|
|
||||||
]]></example>
|
|
||||||
<p>The following example shows an unsubscribe notification.</p>
|
|
||||||
<example caption='Service sends unsubscribe notification to owner'><![CDATA[
|
|
||||||
<message from='pubsub.shakespeare.lit' to='hamlet@denmark.lit'>
|
|
||||||
<pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
|
|
||||||
<subscriptions node='princely_musings'>
|
|
||||||
<subscription jid='polonius@denmark.lit' subscription='none'/>
|
|
||||||
</subscriptions>
|
|
||||||
</pubsub>
|
|
||||||
</message>
|
</message>
|
||||||
]]></example>
|
]]></example>
|
||||||
</section3>
|
</section3>
|
||||||
|
Loading…
Reference in New Issue
Block a user