[Bug 26979] New: Can't support multiple requestable channel classes for the same channel type

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 9 15:56:51 CET 2010


http://bugs.freedesktop.org/show_bug.cgi?id=26979

           Summary: Can't support multiple requestable channel classes for
                    the same channel type
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: tp-python
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: jonny.lamb at collabora.co.uk


The drunken haze I was under when I implemented the Requests interface and the
channel manager assisted in adding an annoying oversight into the
RequestableChannelClasses retrieving. For example:

fixed = {telepathy.CHANNEL_INTERFACE + '.ChannelType':
telepathy.CHANNEL_TYPE_TEXT,
    telepathy.CHANNEL_INTERFACE + '.TargetHandleType':
dbus.UInt32(telepathy.HANDLE_TYPE_CONTACT)}

self._implement_channel_class(telepathy.CHANNEL_TYPE_TEXT,
     self._get_text_channel, fixed, [CHANNEL_INTERFACE_CONFERENCE +
'.InitialChannels'])

This is great if the only RCC you want for text channels is:

({ChannelType: TEXT, TargetHandleType: CONTACT}, [InitialChannels])

But that's not always the case.

Sigh.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the telepathy-bugs mailing list