-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 9/18/09 11:42 PM, Ralph Meijer wrote: > On Fri, Sep 18, 2009 at 02:57:18PM -0600, Peter Saint-Andre wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> A few months ago I had an IM chat with Brian Cully about the >> include_body option. As Brian pointed out, this is the only >> subscription-related configuration option that results in modification >> of the event notification (by either including or not including the XMPP >> message <body/> element). However, this doesn't play nicely with the >> multi-subscribe option, because it's unclear what the pubsub service >> should do if one of the subscriptions specifies include_body = true and >> another subscription specifies include_body = false (does it send two >> notifications, one with body and one without?). >> >> Options: >> >> 1. Get rid of include_body >> >> 2. Better specify handling >> >> 2a. Send multiple notifications and let the client remove dups >> >> 2b. Say that include trumps don't include, and include the body >> >> 3. Other? > > I would say 2b, but 1 also works for me. I am not sure why any > notification would need a body.
The idea behind include_body is that I can subscribe with a smart client (which understands pubsub) and in the future receive notifications at a dumb client (which ignores the pubsub notification and just processes the <body/> element in the XMPP <message/> stanza). > If an entity subscribed to a node (let's say including a resource), I > expect that the entity can actually process the notifications. If > another resourve would receive a notification, I expect that entity to > want to drop the message entirely and not bother the user. I think it depends on the scenario. Anyway this is a bit of an edge case, however I think I prefer 2b as well, so unless there are objections I shall update the spec along those lines. Peter - -- Peter Saint-Andre https://stpeter.im/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkrCgmQACgkQNL8k5A2w/vzP8wCfQaZCQnkzXV9cseknRAjsXVM+ skMAoKPrcjmfT/y0+NExntiCqfeo4A+i =El0L -----END PGP SIGNATURE-----
