[jdev] How to determine if pubsub sends publisher JID in events?

Peter Saint-Andre stpeter at stpeter.im
Tue Nov 2 14:06:16 CST 2010

On 11/2/10 2:02 PM, Sergey Dobrov wrote:
> On 11/03/2010 01:56 AM, Peter Saint-Andre wrote:
>> On 10/30/10 7:27 AM, Sergey Dobrov wrote:
>>> I have a problem with interpretation of paragraph of XEP-60. It
>>> says: "If configured to do so, the service can include the pubisher of
>>> the item when it generates event notifications." How can I determine if
>>> server will publish my JID to choose right pubsub service for publish?
>>> This is not a node configuration field?
>> I think this is handled via the "pubsub#itemreply" field, set to a value
>> of "publisher". But that's not very clear in the spec.
> No, pubsub#itemreply decides if we should to replace true publisher to
> the owner of a node. But there are no way to switch on such
> notifications. That's really bad for me. Can we do with this something?


Perhaps "itemreply" is not a good name for it, but basically this node
configuration option set to "publisher" tells the service to always
include the publisher's JID in the item. I think that's what you want,


Peter Saint-Andre

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6105 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20101102/96c051d2/attachment-0001.bin>

More information about the JDev mailing list