[Bug 71016] have ways for Polari to handle the channels it wants

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 29 20:25:40 CET 2013


https://bugs.freedesktop.org/show_bug.cgi?id=71016

--- Comment #3 from Simon McVittie <simon.mcvittie at collabora.co.uk> ---
For 1-1 messages related to a chatroom, again, we don't have an answer.

One way would be for Polari to pop up one additional Handler head per channel
it handles, with a filter like this (assume we add suitable properties to the
Channel):


    {
        ...ChannelType: ...Text,
        ...TargetHandleType: CONTACT,
        Hypothetical.Channel.I.RoomRelated1.RelatedToRoom:
"telepathy at rooms.example.com",
     }

but there's a race condition there between "1-1 IM comes in from a contact" and
"Mission Control inspects the Handler and finds out that it wants this".

Another way would be to have a boolean RelatedToRoom = True, and have Polari be
the handler for such channels. The down side there is that it can't distinguish
between "a room Polari is handling" and "a room someone else is handling for
some reason".

Maybe there's another way but I can't think of it right now.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the telepathy-bugs mailing list