Bug 29485 - gateways plugin doesn't wait for success
Summary: gateways plugin doesn't wait for success
Status: RESOLVED MOVED
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: 2019-12-03 19:48 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.