diff options
author | Krzysztof <kkszysiu@gmail.com> | 2011-03-27 17:03:36 +0200 |
---|---|---|
committer | Krzysztof <kkszysiu@gmail.com> | 2011-03-27 17:03:36 +0200 |
commit | 4ccfa17cc8f843aa55b9cbadc00dc2f68d3cf01d (patch) | |
tree | 130a52372169450e5f5500de785195baeae8d1d5 /sunshine/channel/text.py | |
parent | 16ddc67ea21da549fc1f386d27b747f74c5eaff0 (diff) |
Some fixes.
Diffstat (limited to 'sunshine/channel/text.py')
-rw-r--r-- | sunshine/channel/text.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sunshine/channel/text.py b/sunshine/channel/text.py index 761a8b7..02f7f29 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): + def __init__(self, conn, manager, conversation, props, object_path=None): _, 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) + telepathy.server.ChannelTypeText.__init__(self, conn, manager, props, object_path=object_path) SunshineChannel.__init__(self, conn, props) telepathy.server.ChannelInterfaceChatState.__init__(self) ChannelInterfaceMessages.__init__(self) |