Bug 30836

Summary: Use XEP-0186 invisibility when available
Product: Telepathy Reporter: Eitan Isaacson <eitan.isaacson>
Component: gabbleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium CC: senko, will
Version: unspecifiedKeywords: patch
Hardware: Other   
OS: All   
URL: http://git.collabora.co.uk/?p=user/eitan/telepathy-gabble.git;a=shortlog;h=refs/heads/xep0186-precedence
Whiteboard: merged
i915 platform: i915 features:

Description Eitan Isaacson 2010-10-13 10:41:11 UTC
Currently Gabble will use XEP-0126 (privacy list) invisibility on a server that supports both XEP-0186 and privacy lists.

Arguably, XEP-0186 should be used when it is available for simple invisibility, as it is a straightforward and fool-proof protocol.

Also, once Google Shared Status is introduced, it will need to take precedence over XEP-0126 as well (as it does not interop well with other invisibility methods).
Comment 1 Eitan Isaacson 2010-10-13 10:52:24 UTC
Attached branch chooses XEP-0186 when both pivacy lists and invisible command are available for simple invisibility. It also updates tests with services that support both XEPs.
Comment 2 Will Thompson 2010-10-14 02:19:37 UTC
looks good, ship it!
Comment 3 Eitan Isaacson 2010-10-14 11:17:41 UTC
Shipped, thanks!

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.