Bug 29485

Summary: gateways plugin doesn't wait for success
Product: Telepathy Reporter: Simon McVittie <smcv>
Component: gabbleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: minor    
Priority: lowest CC: dettox
Version: 0.9   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

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. */
Comment 1 GitLab Migration User 2019-12-03 19:48:34 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-gabble/issues/93.

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.