Summary: | Should set Initiator{ID,Handle} for other channel types | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Jonny Lamb <jonny.lamb> |
Component: | butterfly | Assignee: | Jonny Lamb <jonny.lamb> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | Keywords: | patch |
Version: | git master | ||
Hardware: | Other | ||
OS: | All | ||
URL: | http://git.collabora.co.uk/?p=user/jonny/telepathy-butterfly.git;a=shortlog;h=refs/heads/initiator | ||
Whiteboard: | review+ | ||
i915 platform: | i915 features: |
Description
Jonny Lamb
2010-04-03 16:58:31 UTC
For the record, I did try and put this into tp-python's Channel class at first, but unfortunately I couldn't get it working as the code needs to get the handle class from both the handle itself *and* the handle ID. Drive-by review:
> + # otherwise use InitiatorID.
> + elif telepathy.CHANNEL_INTERFACE + '.InitiatorID' in props:
> + self._initiator = ButterflyHandleFactory(conn, 'contact',
> + id=props[telepathy.CHANNEL_INTERFACE + '.InitiatorHandle'])
s/InitiatorHandle/InitiatorID/
(In reply to comment #2) > s/InitiatorHandle/InitiatorID/ Ha, good catch. Fixed. Merged, this fix is available in butterfly 0.5.10 |
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.