Hi, XEP 0237 "defines a proposed modification to the XMPP roster protocol that enables versioning of rosters such that the server will not send the roster to the client if the roster has not been modified."
I've a question about it: IMHO it requires that deleted contacts MUST be keep by the server forever. This is, if a resource AAA has a local cached roster with version "ver14" and a contact "[email protected]" has been deleted by other resource BBB in "ver15", then when resource AAA retrieves the roster it would send this iq: C: <iq from='[email protected]/AAA' id='r1h3vzp7' to='[email protected]' type='get'> <query xmlns='jabber:iq:roster' ver='ver14'/> </iq> And the server should reply with: S: <iq from='[email protected]' id='r1h3vzp7' to='[email protected]/AAA' type='result'/> followed by: S: <iq from='[email protected]' id='ah382g67' to='[email protected]/AAA' type='set'> <query xmlns='jabber:iq:roster' ver='ver15'> <item jid='[email protected]' subscription='remove'/> </query> </iq> So the server MUST keep all this information forever as it doesn't know when resource AAA will connect. Am I right? If so, is it a feasible requeriment for a server? Regards. -- Iñaki Baz Castillo <[email protected]>
