Bug 30657 - Doesn't register handler for privacy list pushes early enough
Summary: Doesn't register handler for privacy list pushes early enough
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
Depends on:
Reported: 2010-10-06 07:10 UTC by Will Thompson
Modified: 2019-12-03 19:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Will Thompson 2010-10-06 07:10:20 UTC
I was debugging an invisibility-related bug today. When connecting, Gabble retrieves a list of privacy lists from the server, and if no suitable invisible list exists, tries to create one. Only once it has successfully found or created an invisible list does it register a handler for privacy list pushes.

I don't think this can cause any user-visible problems: there's no window between it determining a list is valid and registering the handler in which a push invalidating the list could be received.

But, if we create a privacy list during connection, we get a push for that newly-created list... before we've registered the handler. So Gabble sends back an IQ error, claiming it doesn't understand privacy lists... which seems wrong, and made me panic.
Comment 1 GitLab Migration User 2019-12-03 19:49:20 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/105.

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.