[Bug 49505] somewhat high-level API to add client channel filters

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 3 08:34:35 PST 2014


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

--- Comment #6 from Simon McVittie <simon.mcvittie at collabora.co.uk> ---
(In reply to comment #3)
> At the moment we could so
> something like:
>   f = tp_channel_filter_new_for_text_chatrooms ();
>   tp_channel_filter_require_channel_type (f, TP_IFACE_CHANNEL_TYPE_CALL);
> which is pretty weird.
> 
> If we go this way, tp_channel_filter_new () could be renamed new_for_all()
> or something.

new_for_all_types() perhaps, yeah.

> Another option could be to return_if_fail () if there is already a channel
> type on the filter.

Also a plausible route to take. I think I slightly prefer it this way.

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


More information about the telepathy-bugs mailing list