TpConnection's documentation should say that it needs to be "ready"
Submitted by Murray Cumming
Assigned to Telepathy bugs list
Description
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.