We're updating the issue view to help you get more done. 

Wrong answer format when returning node affiliations or node subscriptions to a node owner

Description

Current answer:

<iq type="result" id="nodes1" from="pubsub.xxxx" to="rem@xxxx/Spark">
<pubsub xmlns="http://jabber.org/protocol/pubsub#owner">
<affiliations node="/newroom_1"/>
<affiliation jid="keith@xxxx" affiliation="owner"/>
<affiliation jid="rem@xxxx" affiliation="owner"/>
</pubsub>
</iq>

Correct answer:

<iq type="result" id="nodes1" from="pubsub.xxxx" to="rem@xxxx/Spark">
<pubsub xmlns="http://jabber.org/protocol/pubsub#owner">
<affiliations node="/newroom_1">
<affiliation jid="keith@xxxx" affiliation="owner"/>
<affiliation jid="rem@xxxx" affiliation="owner"/>
<affiliations/>
</pubsub>
</iq>

Environment

None

Acceptance Test - Entry

None

Assignee

Gaston Dombiak

Reporter

Gaston Dombiak

Labels

None

Expected Effort

None

Ignite Forum URL

None

Components

Fix versions

Affects versions

Priority

Major
Configure