diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2006-05-05 18:19:20 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2006-05-05 18:19:20 (GMT) |
commit | 06fb5b3e8a44a26383df863b09bfd7022580349c (patch) | |
tree | 5d080b2a0f5c274552faa6b3ee9536e0cbded856 | |
parent | dd95b7e8bc926094761f0cea8775ca0f3b33cd16 (diff) |
More fixes
-rwxr-xr-x | chat/chat.py | 2 | ||||
-rw-r--r-- | chat/p2p.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chat/chat.py b/chat/chat.py index 2948c26..a5f3fc8 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 fb21eb9..df223d1 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 |