Bug 19096

Summary: TpConnection's documentation should say that it needs to be "ready"
Product: Telepathy Reporter: Murray Cumming <murrayc>
Component: tp-glibAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Murray Cumming 2008-12-15 07:27:15 UTC
The TpConnection documentation
  http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-connection.html#telepathy-glib-connection.description
does not mention that you need to wait until the connection is ready before you can do anything with the connection.

Furthermore, the GError you get if you don't wait doesn't mention that that's the problem. For instance, the GError from tp_cli_connection_interface_simple_presence_call_set_presence() just says that the connection doesn't support the SimplePresence interface, when the truth is that it just doesn't know yet if it does.
Comment 1 GitLab Migration User 2019-12-03 19:23:08 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-glib/issues/10.

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.