[Standards] NEW: XEP-0390 (Entity Capabilities 2.0)

Daniel Gultsch daniel at gultsch.de
Sat May 27 09:41:29 UTC 2017


2017-05-27 11:31 GMT+02:00 Evgeny Khramtsov <xramtsov at gmail.com>:
> Sat, 27 May 2017 10:22:27 +0200
> Daniel Gultsch <daniel at gultsch.de> wrote:
>
>> Fair question. Maybe to avoid a race condition where the client
>> queries the disco node before receiving the presence?
>
> Hum, I don't see a race here, at least in the case when a server sends a
> presence with its own server JID in "from". But I'm not sure some
> clients won't break, afair we didn't do this before ;)
> Am I missing something?

What I meant to say is that during initial connect I'm not sure if I
just haven't received a server presence yet or if I will never receive
one since there is no 'end of all presences' message. Thus I will
eventually have to send out a disco#info regardless.

cheers
Daniel


More information about the Standards mailing list