Bug 28929 - AccountManager->onlineAccountsSet() includes certain offline accounts in the returned set
Summary: AccountManager->onlineAccountsSet() includes certain offline accounts in the ...
Status: RESOLVED NOTABUG
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-qt (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-06 05:08 UTC by George Goldberg
Modified: 2010-07-15 16:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.