Bug 28929

Summary: AccountManager->onlineAccountsSet() includes certain offline accounts in the returned set
Product: Telepathy Reporter: George Goldberg <grundleborg>
Component: tp-qtAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED NOTABUG QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description George Goldberg 2010-07-06 05:08:47 UTC
I have two accounts in MC at the moment. If I call that function, one of them appears in the set and the other doesn't. The one which appears in the set has presence settings as follows:

   Automatic: available (2) ""
     Current:  (0) ""
   Requested: offline (1) ""

The one which doesn't appear is as follows:

   Automatic: available (2) ""
     Current: offline (1) ""
   Requested: offline (1) ""

I would expect that neither of these should appear in the OnlineAccountsSet.
Comment 1 Will Thompson 2010-07-06 05:54:40 UTC
I think this is MC bug 24779.

Presence type 0 is Unset. From the spec for CurrentPresence:

> If the connection is not online, this should be (Connection_Presence_Type_Offline, "", ""). If the connection is online but does not support the SimplePresence interface, this should be (Connection_Presence_Type_Unset, "", "").
Comment 2 Andre Moreira Magalhaes 2010-07-15 16:58:52 UTC
This is not a tp-qt4 bug. We are following the spec here where all accounts with presence type unset are considered online.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.