[Telepathy] MissionControl's spec

Xavier Claessens xclaesse at gmail.com
Thu Dec 20 03:32:13 PST 2007


On jeu, 2007-12-20 at 13:17 +0200, Alberto Mardegan wrote:
> Another thought over the enabledness of accounts: it was once proposed 
> to use the groups API for this purpose, that is assign to the "enabled" 
> group all the accounts that are enabled. But suppose we have three 
> accounts A, B and C, and three groups, "enabled", "work", "home", like this:
> 
> A is in "enabled", "work"
> B is in "enabled", "home"
> C is in "home"
> 
> how would you set a presence on the "home" group with the current 
> proposed API, without changing the presence of accounts A and C (which 
> is offline because it's disabled)?
> 
> I guess we really need a SetEnabled() API, then...

Right, enabled/disabled and groups are orthogonal. Setting presence on a
group only affects enabled accounts members of that group.

Should I add SetActive(bool) function and ActiveChanged(bool) signal or
is there other solutions?

Xavier Claessens.



More information about the Telepathy mailing list