[Telepathy] On spec additions to allow a really simple IM API
mikhail.zabaluev at nokia.com
mikhail.zabaluev at nokia.com
Mon Mar 7 06:45:13 PST 2011
Hi,
> -----Original Message-----
> From: telepathy-
> bounces+mikhail.zabaluev=nokia.com at lists.freedesktop.org
> [mailto:telepathy-
> bounces+mikhail.zabaluev=nokia.com at lists.freedesktop.org] On Behalf Of
> ext Will Thompson
> Sent: Monday, March 07, 2011 3:10 PM
> To: telepathy at lists.freedesktop.org
> Subject: Re: [Telepathy] On spec additions to allow a really simple IM
> API
>
> On 07/03/11 12:58, mikhail.zabaluev at nokia.com wrote:
> > That, or maybe try client-side helpers to manage sending to a contact
> survivably across channel closures.
>
> I'm pretty sure it's not possible to do this without the possibility of
> an infinite loop, or the possibility of breaking the UI.
>
> If there's no existing channel open to a contact, this API would have
> to
> create and handle the channel to avoid popping up an IM window in the
> user's face. But this means that, if the user happens to try to start a
> conversation at the same time, that channel request will fail (if using
> CreateChannel) or be redispatched to the service sending a one-shot IM
> (EnsureChannel).
>
> This is obviously very unlikely, but sod's law …
You are right.
Anyone for o.fd.Tp.Conn.I.MessageSender, with suitable hacks to avoid invoking approvers/handlers for a possibly created channel?
Best regards,
Mikhail
More information about the telepathy
mailing list