[telepathy-butterfly/master] Fix RequestHandles for contact and DnD in empathy (fd.o #22224)
Olivier Le Thanh Duong
olivier at lethanh.be
Thu Jun 11 06:04:55 PDT 2009
RequestHandles was broken in certain cases and thus also broke the
drag and drop of a contact into a group in Empathy.
---
butterfly/connection.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/butterfly/connection.py b/butterfly/connection.py
index d3b721a..ae9643a 100644
--- a/butterfly/connection.py
+++ b/butterfly/connection.py
@@ -141,7 +141,7 @@ class ButterflyConnection(telepathy.server.Connection,
name = name.rsplit('#', 1)
contact_name = name[0]
if len(name) > 1:
- network_id = int(contact_name[1])
+ network_id = int(name[1])
else:
network_id = pymsn.NetworkID.MSN
contacts = self.msn_client.address_book.contacts.\
--
1.5.6.5
More information about the telepathy-commits
mailing list