Summary: | [dbus-glib limitation] GetAvatarRequirements returns u instead of q | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Stefan Eilers <stefan.eilers> |
Component: | gabble | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED MOVED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Stefan Eilers
2008-10-24 04:32:07 UTC
Damn. We might not even be able to solve this... it's almost certainly dbus-glib's fault. (dbus-glib doesn't differentiate between 16- and 32-bit integers - it maps them both to G_TYPE_[U]INT - so it doesn't notice the difference. Python is also very permissive about types, so we've never encountered this problem in GLib and Python bindings...) As a temporary workaround, don't bother calling GetAvatarRequirements, and just assume something reasonable (64x64 JPEGs or PNGs should work on most protocols for instance). We could work around this service-side by adding an AvatarRequirements property that avoids the problematic 16-bit types. -- 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/16. |
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.