Bug 21005 - TelepthyQt4 should support setting presence before connecting even if CM's don't
Summary: TelepthyQt4 should support setting presence before connecting even if CM's don't
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: 2009-04-01 14:46 UTC by George Goldberg
Modified: 2010-11-05 00:33 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.