mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -05:00
corrected notification examples
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3708 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
59ee68932d
commit
8f465c538b
14
xep-0060.xml
14
xep-0060.xml
@ -4022,7 +4022,7 @@ And by opposing end them?
|
||||
</x>
|
||||
</message>
|
||||
]]></example>
|
||||
<p>The service then SHOULD send notification to the approved subscriber (see the <link url='#impl-subchange'>Notification of Subscription State Changes</link> section of this document).</p>
|
||||
<p>The service then SHOULD notify the approved subscriber (see the <link url='#impl-subchange'>Notification of Subscription State Changes</link> section of this document).</p>
|
||||
<example caption='Subscription approval notification'><![CDATA[
|
||||
<message
|
||||
from='pubsub.shakespeare.lit'
|
||||
@ -4052,15 +4052,15 @@ And by opposing end them?
|
||||
</x>
|
||||
</message>
|
||||
]]></example>
|
||||
<p>The service then SHOULD send notification to the denied subscriber (see the <link url='#impl-subchange'>Notification of Subscription State Changes</link> section of this document).</p>
|
||||
<p>The service then SHOULD notify the denied subscriber (see the <link url='#impl-subchange'>Notification of Subscription State Changes</link> section of this document).</p>
|
||||
<example caption='Subscription cancellation / denial notification'><![CDATA[
|
||||
<message
|
||||
from='pubsub.shakespeare.lit'
|
||||
to='horatio@denmark.lit'
|
||||
id='unsubnotify1'>
|
||||
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
|
||||
<event xmlns='http://jabber.org/protocol/pubsub#event'>
|
||||
<subscription node='princely_musings' jid='horatio@denmark.lit' subscription='none'/>
|
||||
</pubsub>
|
||||
</event>
|
||||
</message>
|
||||
]]></example>
|
||||
<p>In order to cancel the form submission, the owner shall reply with the form's 'type' attribute set to "cancel".</p>
|
||||
@ -4397,12 +4397,12 @@ And by opposing end them?
|
||||
<p>In order to remove an entity from the subscriptions list, the owner MUST set the value of the 'subscription' attribute to "none" and the service MUST remove that entity from the subscriptions list and not return it in response to future list requests.</p>
|
||||
</section3>
|
||||
<section3 topic='Notifying Subscribers' anchor='owner-subscriptions-notifysub'>
|
||||
<p>An implementation SHOULD send notification to an entity whose subscription has changed (see the <link url='#impl-subchange'>Notification of Subscription State Changes</link> section of this document).</p>
|
||||
<p>An implementation SHOULD notify an entity whose subscription has changed (see the <link url='#impl-subchange'>Notification of Subscription State Changes</link> section of this document).</p>
|
||||
<example caption='Service sends notification of subscription change'><![CDATA[
|
||||
<message from='pubsub.shakespeare.lit' to='polonius@denmark.lit'>
|
||||
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
|
||||
<event xmlns='http://jabber.org/protocol/pubsub#event'>
|
||||
<subscription node='princely_musings' jid='polonius@denmark.lit' subscription='none'/>
|
||||
</pubsub>
|
||||
</event>
|
||||
</message>
|
||||
]]></example>
|
||||
</section3>
|
||||
|
Loading…
Reference in New Issue
Block a user