Bug 29485 - gateways plugin doesn't wait for success
Summary: gateways plugin doesn't wait for success
Status: NEW
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: 0.9
Hardware: Other All
: lowest minor
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-10 06:23 UTC by Simon McVittie
Modified: 2010-08-10 06:34 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon McVittie 2010-08-10 06:23:34 UTC
If you give the wrong password for a Jabber transport, sidecar.Register() still succeeds (before the plugin actually knows whether the registration has succeeded or failed). It should fail.

However, this isn't trivial to do, because it involves a presence exchange which isn't directly a reply - it'll need some sort of mechanism for expecting the presence exchange to happen, and timing out and failing if it doesn't happen within n seconds.

See also this comment in plugins/gateways.c:

      /* Eventually, we'll return success from the D-Bus method call here. */


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.