[jdev] How to determine if pubsub sends publisher JID in events?
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 126.96.36.199 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,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6105 bytes
Desc: S/MIME Cryptographic Signature
More information about the JDev