[Bug 71390] New: add API for accounts that cannot be disabled
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Nov 8 06:17:55 PST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=71390
Priority: medium
Bug ID: 71390
CC: john.brooks at jollamobile.com
Assignee: telepathy-bugs at lists.freedesktop.org
Summary: add API for accounts that cannot be disabled
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
Account.I.Storage has a property for a set of restriction flags.
McdAccount::always-on allows the creation of accounts that can never go offline
(ideal for telephony), but now that we've abolished Mcd* as a plugin API,
there's no actual way to achieve that.
On Bug #71384 I suggested:
> > return TP_STORAGE_RESTRICTION_FLAG_CANNOT_SET_PARAMETERS |
> > TP_STORAGE_RESTRICTION_FLAG_CANNOT_SET_ENABLED |
> > TP_STORAGE_RESTRICTION_FLAG_CANNOT_SET_PRESENCE |
> > TP_STORAGE_RESTRICTION_FLAG_CANNOT_SET_SERVICE;
>
> I think this suggests how we can supersede McdAccount::always-on:
>
> * if we CANNOT_SET_ENABLED, then Enabled is forcibly set to what the
> storage backend says it is (instead of TRUE, as always-on does)
>
> * if we CANNOT_SET_PRESENCE, then AutomaticPresence and ConnectAutomatically
> are forcibly set to what the storage backend says they are,
> and RequestedPresence is forcibly set to
> (ConnectAutomatically ? AutomaticPresence : (OFFLINE, "offline", ""))
--
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