[telepathy-butterfly/master] Handle type needs to be a dbus.UInt32

Louis-Francis Ratté-Boulianne louis-francis.ratte-boulianne at collabora.co.uk
Tue Jul 28 07:19:34 PDT 2009


---
 butterfly/channel_manager.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/butterfly/channel_manager.py b/butterfly/channel_manager.py
index 040877f..e8bc8e1 100644
--- a/butterfly/channel_manager.py
+++ b/butterfly/channel_manager.py
@@ -19,6 +19,7 @@
 import logging
 import weakref
 
+import dbus
 import telepathy
 import papyon
 
@@ -36,7 +37,7 @@ class ButterflyChannelManager(telepathy.server.ChannelManager):
         telepathy.server.ChannelManager.__init__(self, connection)
 
         fixed = {telepathy.CHANNEL_INTERFACE + '.ChannelType': telepathy.CHANNEL_TYPE_TEXT,
-            telepathy.CHANNEL_INTERFACE + '.TargetHandleType': telepathy.HANDLE_TYPE_CONTACT}
+            telepathy.CHANNEL_INTERFACE + '.TargetHandleType': dbus.UInt32(telepathy.HANDLE_TYPE_CONTACT)}
         self._implement_channel_class(telepathy.CHANNEL_TYPE_TEXT,
             self._get_text_channel, fixed, [])
 
-- 
1.5.6.5



More information about the telepathy-commits mailing list