[Telepathy] Proposed MC api
naba.kumar at nokia.com
Tue May 29 04:06:38 PDT 2007
ext Xavier Claessens wrote:
> On lun, 2007-05-28 at 13:35 +0300, Naba Kumar wrote:
>> * AccountStatusChanged(u:status, u:presence, u:reason, s:account)
>> Emitted when account status changes. Both connection and presence
> Needs the presence message too?
>> * StatusActual(u:conn_status, u:presence)
> What does it do? Seems to be the same as AccountStatusChanged...
No. AccountStatusChanged is per account status, while StatusActual is
the aggregate status, calculated based on some aggregation rule. The
rule for conn_status is that:
* if all accounts are disconnected, status is disconnected.
* if any account is connecting, status is connecting.
* if at least one account connected and rest not connecting, status
The rule for presence is simple. It is the highest availability presence.
>> * PresenceStatusRequested(u:presence)
>> Emitted when requested presence changes.
>> * PresenceStatusActual(u:presence)
>> Emitted when actual presence changes.
> Needs the presence message too.
More information about the Telepathy