summaryrefslogtreecommitdiff
path: root/sunshine/channel/text.py
diff options
context:
space:
mode:
authorKrzysztof Klinikowski <kkszysiu@gmail.com>2010-09-05 23:38:52 +0200
committerKrzysztof Klinikowski <kkszysiu@gmail.com>2010-09-05 23:38:52 +0200
commite80cab865fb730eeeadfbd23f3b469f4d542f2cd (patch)
treedaaaebe067caee48259c580e25f8b2432632826b /sunshine/channel/text.py
parent164304aa271f62bf0888e330484470a7432b56b5 (diff)
Fixes in channel dispatching.
Diffstat (limited to 'sunshine/channel/text.py')
-rw-r--r--sunshine/channel/text.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/sunshine/channel/text.py b/sunshine/channel/text.py
index 0f36366..76a61b5 100644
--- a/sunshine/channel/text.py
+++ b/sunshine/channel/text.py
@@ -41,7 +41,7 @@ class SunshineTextChannel(SunshineChannel,
telepathy.server.ChannelInterfaceChatState,
ChannelInterfaceMessages):
- def __init__(self, conn, manager, conversation, props, object_path=None):
+ def __init__(self, conn, manager, conversation, props, object_path):
_, surpress_handler, handle = manager._get_type_requested_handle(props)
self._recv_id = 0
self._conn_ref = weakref.ref(conn)
@@ -50,7 +50,7 @@ class SunshineTextChannel(SunshineChannel,
self._pending_messages2 = {}
self.handle = handle
- telepathy.server.ChannelTypeText.__init__(self, conn, manager, props, object_path=None)
+ telepathy.server.ChannelTypeText.__init__(self, conn, manager, props, object_path)
SunshineChannel.__init__(self, conn, props)
telepathy.server.ChannelInterfaceChatState.__init__(self)
ChannelInterfaceMessages.__init__(self)
@@ -151,7 +151,7 @@ class SunshineTextChannel(SunshineChannel,
class SunshineRoomTextChannel(telepathy.server.ChannelTypeText, telepathy.server.ChannelInterfaceGroup):
- def __init__(self, conn, manager, conversation, props, object_path=None):
+ def __init__(self, conn, manager, conversation, props, object_path):
_, surpress_handler, handle = manager._get_type_requested_handle(props)
self._recv_id = 0
self._conn_ref = weakref.ref(conn)
@@ -161,7 +161,7 @@ class SunshineRoomTextChannel(telepathy.server.ChannelTypeText, telepathy.server
self.contacts = conversation
self.handle = handle
- telepathy.server.ChannelTypeText.__init__(self, conn, manager, props, object_path=None)
+ telepathy.server.ChannelTypeText.__init__(self, conn, manager, props, object_path)
telepathy.server.ChannelInterfaceGroup.__init__(self)
self.GroupFlagsChanged(telepathy.CHANNEL_GROUP_FLAG_CAN_ADD, 0)