Bug 13597 - Shouldn't decide whether contacts have PEP based on whether *we* do
Summary: Shouldn't decide whether contacts have PEP based on whether *we* do
Status: NEW
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: unspecified
Hardware: Other All
: low minor
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
Depends on:
Reported: 2007-12-10 11:43 UTC by Simon McVittie
Modified: 2007-12-10 11:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Note You need to log in before you can comment on or make changes to this bug.
Description Simon McVittie 2007-12-10 11:43:19 UTC
At the moment, at least some parts of Gabble decide whether to use PEP for a contact's properties based on whether we have PEP on our own server. This is clearly wrong.

The way to do this is probably to just try it, and if the error we get is service-not-implemented or something, cache that fact (perhaps in the presence cache) so we don't try it again. If I remember correctly, we do this (but without the caching) for PEP nicknames.

Alternatively, we could disco the contact's server and see if it has PEP, but that's probably a waste of round-trips.

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.