[jdev] XEP-0115: Entity Capabilities
Pedro Melo
melo at co.sapo.pt
Sat Jun 30 03:01:41 CDT 2007
Hi,
On Jun 27, 2007, at 7:31 AM, Sergei Golovan wrote:
> On 6/27/07, Joe Hildebrand <hildjj at gmail.com> wrote:
>> You can always just query each user independently if you like; you
>
> I think that the XEP must not recommend to cache capabilities based
> only on reported software name and version. The more acceptable index
> is a tuple {jid, client name, client version}.
Or you can do what was suggested in the list (don't know if it is
mentioned in the spec): cache the information about {client_name,
client_version} => caps* only after you receive the exact same
information from 5 or 6 different JIDs.
The roster is assumed to be for people you trust.
I think the case for service bots is the only one where I would limit
the use of XEP-0115 given that by default a lot of JIDs will
subscribe it and you'll auto-accept them all, so no trust there.
Best regards,
--
HIId: Pedro Melo
SMTP: melo at co.sapo.pt
XMPP: pedro.melo at sapo.pt
More information about the JDev
mailing list