[Telepathy-commits] [telepathy-butterfly/master] Fix on_contact_memberships_changed (fd.o #19919)

Olivier Le Thanh Duong olivier at lethanh.be
Mon Feb 2 15:55:27 PST 2009


Corrected the parameter given to ButterflyHandleFactory
in on_contact_memberships_changed which caused the
AttributeError.

Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
 butterfly/aliasing.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/butterfly/aliasing.py b/butterfly/aliasing.py
index c6d1c29..45848f9 100644
--- a/butterfly/aliasing.py
+++ b/butterfly/aliasing.py
@@ -89,7 +89,7 @@ class ButterflyAliasing(
 
     # pymsn.event.ContactEventInterface
     def on_contact_memberships_changed(self, contact):
-        handle = ButterflyHandleFactory(self._conn_ref(), 'contact',
+        handle = ButterflyHandleFactory(self, 'contact',
                 contact.account, contact.network_id)
         if contact.is_member(pymsn.Membership.FORWARD):
             alias = handle.pending_alias
-- 
1.5.6.5



More information about the telepathy-commits mailing list