Peter Saint-Andre wrote:
To make my life easier, something could be added to XEP-0166 saying that
clients supporting Jingle should support XEP-0155, or even something
similar to XEP-0155 but much lighter weight.

I'm all ears. :)

I'm going to go with supporting XEP-0155, if the client wants to be able to accept Jingle sessions from those with which it is not sharing presence. The initiator should then send a message to initiate the session, with 'presence' and 'service-discovery' fields, each of which only have the option 'must'. The client can then accept this XEP-0155 session silently, and offer the user the usual notification of an incoming Jingle session, thereby having leaked presence, or have the user explicitly accept the XEP-0155 session, and then also accept the Jingle session which follows, in order to only bother the user once. Which of these behaviours (or the alternative, rejecting the XEP-0155 session) is up to the client/user.

--

Paul


Reply via email to