Bug 42548

Summary: ChangingPresence sometimes spuriously becomes True
Product: Telepathy Reporter: Will Thompson <will>
Component: mission-controlAssignee: Will Thompson <will>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium Keywords: patch
Version: git master   
Hardware: Other   
OS: All   
URL: http://cgit.collabora.com/git/user/wjt/telepathy-mission-control-wjt.git/log/?h=ChangingPresence
Whiteboard: review+
i915 platform: i915 features:

Description Will Thompson 2011-11-03 03:51:23 UTC
Currently, the Account.ChangingPresence property can sometimes spuriously become True. I noticed this when I added it to the output of `mc-tool show` and ran it against an account I never enable (but whose RequestedPresence is 'available' for some reason).

Here's a branch that adds that stuff to mc-tool, fixes this bug, and adds a test. So now the output from mc-tool show looks like this:

     Account: gabble/jabber/will_2ethompson_40collabora_2eco_2euk0
Display Name: Collabora (will.thompson@collabora.co.uk)
  Normalized: will.thompson@collabora.co.uk
     Enabled: enabled
        Icon: im-jabber
    Connects: only when requested
    Nickname: wjt
     Service: Collabora

Presences:
   Automatic: available (2) ""
     Current: available (2) ""
   Requested: available (2) ""
    Changing: no

        (bool) require-encryption = true
      (string) account = will.thompson@collabora.co.uk
Comment 1 Simon McVittie 2011-11-03 04:20:50 UTC
Looks good to me
Comment 2 Will Thompson 2011-11-03 05:07:46 UTC
Merged; will be in 5.9.4. Thanks!

http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=be2e5c2d89

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.