[Bug 30617] New: TpChannel: high level API to close/leave channel

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 5 12:48:41 CEST 2010


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

           Summary: TpChannel: high level API to close/leave channel
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: medium
         Component: tp-glib
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: guillaume.desmottes at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


<cassidy> smcv, hum there is no high level API on Close(). Shouldn't we have
tp_channel_close_async() ?
<smcv> cassidy: you're welcome to add it
<cassidy> let's start with a bug
<smcv> cassidy: or tp_channel_leave_async() which would be like
mcp_dispatch_operation_leave_channels
<cassidy> hum yeah, maybe TpChannel subclasses should be able to override it
<smcv> not really
<smcv> but in Group channels you should be able to RemoveMembers() yourself
with a reason
<cassidy> oh right, that's only for Group channels
<smcv> look at the implementation of mcp_dispatch_operation_leave_channels, it
does The Right Thing™ :-)
<smcv> (Remove if a Group and the reason is non-trivial, Close otherwise)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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