Bug 21005

Summary: TelepthyQt4 should support setting presence before connecting even if CM's don't
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 2009-04-01 14:46:12 UTC
If I attempt to set the presence on a connection before connecting it, and the CM doesn't support this, then my Connection->setSelfPresence() call will fail. In this case, I think the library should return a success instead and store the presence requested, setting it immediately after I connect the connection.

(As discussed with Olli and Andre on IRC).

Also, this is a blocker for t-a-k, so it would be great to get it fixed asap :)
Comment 1 Olli Salli 2010-11-05 00:33:03 UTC
The Connection setting self presence functionality is nowadays only useful when not using an AM ie. never in real applications unless you're the AM yourself.

Will be moved to a ConnectionLowLevel class in 0.5.0. As a low-level method, it doesn't need and shouldn't have, in fact, high-level semantics like this (for full control where it's needed).

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.