Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • XEP0060 PubSub
    • None

    Description

      To delete a node, the user must be the owner of the node and send an IQ stanza of this form:

      <iq type='set'
      from='hamlet@denmark.lit/elsinore'
      to='pubsub.shakespeare.lit'
      id='delete1'>
      <pubsub xmlns='http://jabber.org/protocol/pubsub#owner'>
      <delete node='princely_musings'/>
      </pubsub>
      </iq>

      The success case confirms the deletion and informs the subscribers of the deletion:

      If no error occurs, the service MUST inform the owner of success.

      Example 148. Service replies with success

      <iq type='result'
      from='pubsub.shakespeare.lit'
      id='delete1'/>

      In addition, the service MUST also send notification of node deletion to all subscribers (which SHOULD include pending and unconfigured subscriptions).

      Example 149. Subscribers are notified of node deletion

      <message from='pubsub.shakespeare.lit' to='francisco@denmark.lit' id='foo'>
      <event xmlns='http://jabber.org/protocol/pubsub#event'>
      <delete node='princely_musings'/>
      </event>
      </message>

      <message from='pubsub.shakespeare.lit' to='bernardo@denmark.lit' id='bar'>
      <event xmlns='http://jabber.org/protocol/pubsub#event'>
      <delete node='princely_musings'/>
      </event>
      </message>

      Attachments

        Activity

          People

            mjakl Michael Jakl
            mjakl Michael Jakl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: