[Bug 71389] New: replace _mcd_account_needs_dispatch() (aka always_dispatch)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Nov 8 05:41:40 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=71389
Priority: medium
Bug ID: 71389
Assignee: telepathy-bugs at lists.freedesktop.org
Summary: replace _mcd_account_needs_dispatch() (aka
always_dispatch)
QA Contact: telepathy-bugs at lists.freedesktop.org
Severity: enhancement
Classification: Unclassified
OS: All
Reporter: simon.mcvittie at collabora.co.uk
Hardware: Other
Status: NEW
Version: git master
Component: mission-control
Product: Telepathy
_mcd_account_needs_dispatch(), also known as the always_dispatch struct member
and attribute, has two orthogonal functions:
* flags the account as OK to connect even when the McdConnectivityMonitor
thinks it shouldn't (suspending, no network, etc.)
* in mcd_connection_need_dispatch(), if a non-MC client has requested
channels by "going behind MC's back", we would normally only pass them
to Observers, but if the account has always_dispatch, we pass them
to Handlers too (potentially leading to the non-MC client and the Handler
fighting over the channel)
In practice, always_dispatch means "is telepathy-ring".
We should have a more reasonable API for these things, driven by what Telepathy
users actually need.
--
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