From 06fb5b3e8a44a26383df863b09bfd7022580349c Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 5 May 2006 14:19:20 -0400 Subject: [PATCH] More fixes --- chat/chat.py | 2 +- chat/p2p.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chat/chat.py b/chat/chat.py index 2948c263..a5f3fc8a 100755 --- a/chat/chat.py +++ b/chat/chat.py @@ -341,7 +341,7 @@ class GroupChat(Chat): def _buddy_recv_message(self, sender, msg): chat = sender.chat() if not chat: - chat = BuddyChat(self._parent, sender) + chat = BuddyChat(self, sender) sender.set_chat(chat) chat.activity_connect_to_shell() chat.recv_message(message) diff --git a/chat/p2p.py b/chat/p2p.py index fb21eb94..df223d1e 100644 --- a/chat/p2p.py +++ b/chat/p2p.py @@ -13,7 +13,7 @@ class GroupRequestHandler(object): def message(self, message): address = network.get_authinfo() - self._group.recv(address, message) + self._group.recv(address[0], message) class Owner: instance = None