|Summary:||A way for Handlers to match channels based on their Accounts|
|Product:||Telepathy||Reporter:||Senko Rasic <senko>|
|Component:||tp-spec||Assignee:||Vivek Dasmohapatra <vivek>|
|Status:||RESOLVED MOVED||QA Contact:||Telepathy bugs list <telepathy-bugs>|
|i915 platform:||i915 features:|
|Bug Depends on:||30964|
Description Senko Rasic 2010-10-18 06:47:29 UTC
It would be useful if a handler could match channels based on their accounts. Eg. irc-optimized client could say 'I want to handle all text channels on accounts that use protocol "irc".' A way to do this could be filters matching Account object path and/or properties. To make this more useful, a read-only Protocol property could be added to Account - although it's encoded in the Account object path, having a separate property is useful for matching.
Comment 1 Senko Rasic 2010-10-18 07:04:57 UTC
Reassigning to Vivek for reviewing and setting severity to enhancement.
Comment 2 Simon McVittie 2010-10-18 07:16:46 UTC
The semantics in terms of "and" and "or" need to be clearer. I assume the semantics are meant to be: handle every channel where both either the account matches AccountFilter or the account matches AccountFilter ... and either the channel matches HandlerChannelFilter or the channel matches HandlerChannelFilter ... I'm not sure that this should be on Handler: how about a new Client.I.AccountFiltering that could apply to any class of Client?
Comment 3 GitLab Migration User 2019-12-03 20:22:42 UTC
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-spec/issues/86.