On 03/15/2012 09:06 AM, Joe Hildebrand wrote: > On 3/14/12 10:42 AM, "Sergey Dobrov" <[email protected]> wrote: > > Please make sure you've seen the contacts portion of XEP-292 as well: > > http://xmpp.org/extensions/xep-0292.html#contacts > > This part is about storing a list of contacts for *myself*, so none of your > issues with presence subscriptions are relevant. >
Ok, sorry for that. >> But it's hard for me to examine the example of the XEP-292 since I don't >> fully understand the necessity of instant vcard updates notifications? >> Is this for the avatar updates? If so, from/to subscriptions need to be >> in game. > > For other people's vCards, as stpeter said, this is about ensuring that > clients aren't constantly polling for change. If you need a vCard for a > person in the to state, you can just send them a directed presence to turn > on updates when you need them; that directed presence could potentially > include an ago/off stanza to let her server know that you might not actually > need the update. For people in the the from state, you probably don't have > authorization to see the information, so send them a subscription request. > >> I just said that the current PEP is only useful for light protocols >> which are not carry important payloads, which can be loss and nobody >> cares. More complex protocols need PEP to support to/from subscription >> states or they will not be able to be the high-grade and then the >> situation will lead to PEP reinvention if many protocols will depend on >> that PEP's issue. > > This argument was explicitly considered and rejected at the meeting (in > Portland, I think) where we came up with PEP many years ago. Until someone > comes up with a better way, some of us will implement PEP; feel free not to > implement it if you don't like it. > The problem is that I really like PEP but I think that this restriction is a very big limit for PEP usage. I have a possible solution for that (ejabberd developers had a patch which can solve the problem) but it will not be a standard way and it seems very dangerous to me to invent another PEP which only fixes the issue and is equal in any other thing. That's why I very afraid of XEPs like "pubsub since". -- With best regards, Sergey Dobrov, XMPP Developer and JRuDevels.org founder.
