[Telepathy] On spec additions to allow a really simple IM API

Will Thompson will.thompson at collabora.co.uk
Mon Mar 7 05:10:12 PST 2011


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 …

-- 
Will


More information about the telepathy mailing list