More fixes

This commit is contained in:
Marco Pesenti Gritti 2006-05-05 14:19:20 -04:00
parent dd95b7e8bc
commit 06fb5b3e8a
2 changed files with 2 additions and 2 deletions

View File

@ -341,7 +341,7 @@ class GroupChat(Chat):
def _buddy_recv_message(self, sender, msg): def _buddy_recv_message(self, sender, msg):
chat = sender.chat() chat = sender.chat()
if not chat: if not chat:
chat = BuddyChat(self._parent, sender) chat = BuddyChat(self, sender)
sender.set_chat(chat) sender.set_chat(chat)
chat.activity_connect_to_shell() chat.activity_connect_to_shell()
chat.recv_message(message) chat.recv_message(message)

View File

@ -13,7 +13,7 @@ class GroupRequestHandler(object):
def message(self, message): def message(self, message):
address = network.get_authinfo() address = network.get_authinfo()
self._group.recv(address, message) self._group.recv(address[0], message)
class Owner: class Owner:
instance = None instance = None