Skip to content

xep0060: pubsub-items-retract needs to allow list of ids to retract #100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 4, 2025

Conversation

sstrigler
Copy link
Contributor

No description provided.

@sstrigler sstrigler force-pushed the fix-retract-items branch from a12238f to 165eba1 Compare May 28, 2025 07:48
@badlop
Copy link
Member

badlop commented Jun 4, 2025

Right, this is explained in https://xmpp.org/extensions/xep-0060.html#impl-batch

A publisher MAY include multiple elements in a publish request and MAY include multiple elements in a retract request. This results in "batch processing" of publications or retractions.

and detailed in https://xmpp.org/extensions/xep-0060.html#schemas-event

  <xs:element name='items'>
    <xs:complexType>
      <xs:choice>
        <xs:element ref='item' minOccurs='0' maxOccurs='unbounded'/>
        <xs:element ref='retract' minOccurs='0' maxOccurs='unbounded'/>
      </xs:choice>
      <xs:attribute name='node' type='xs:string' use='required'/>
    </xs:complexType>
  </xs:element>

@badlop badlop merged commit 37fae36 into processone:master Jun 4, 2025
5 checks passed
badlop added a commit to processone/ejabberd that referenced this pull request Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants