What steps will reproduce the problem?
1. Configure pubsub with expose_publisher = true
2. Publish something
3. Do a pubsub items query for the published item
What is the expected output?
<iq id="x" type="result" from="pubsub.example.org">
<pubsub xmlns="http://jabber.org/protocol/pubsub">
<items node="test">
<item id="07e13807-9b36-4ac7-8855-465f0ae3a590" publisher="user@example.org">
<payload xmlns="urn:example:xmpp:pubsub"/>
</item>
</items>
</pubsub>
</iq>
What do you see instead?
<iq id="x" type="result" from="pubsub.example.org">
<pubsub xmlns="http://jabber.org/protocol/pubsub">
<items node="test">
<item id="07e13807-9b36-4ac7-8855-465f0ae3a590">
<payload xmlns="urn:example:xmpp:pubsub"/>
</item>
</items>
</pubsub>
</iq>
What version of the product are you using?
1df53ef1f60d trunk
Please provide any additional information below.
What steps will reproduce the problem? 1. Configure pubsub with expose_publisher = true 2. Publish something 3. Do a pubsub items query for the published item What is the expected output? <iq id="x" type="result" from="pubsub.example.org"> <pubsub xmlns="http://jabber.org/protocol/pubsub"> <items node="test"> <item id="07e13807-9b36-4ac7-8855-465f0ae3a590" publisher="user@example.org"> <payload xmlns="urn:example:xmpp:pubsub"/> </item> </items> </pubsub> </iq> What do you see instead? <iq id="x" type="result" from="pubsub.example.org"> <pubsub xmlns="http://jabber.org/protocol/pubsub"> <items node="test"> <item id="07e13807-9b36-4ac7-8855-465f0ae3a590"> <payload xmlns="urn:example:xmpp:pubsub"/> </item> </items> </pubsub> </iq> What version of the product are you using? 1df53ef1f60d trunk Please provide any additional information below.
Fixed in https://hg.prosody.im/trunk/rev/d783716103c1 and some following commits
Changes