Finally one to one chat back to work

This commit is contained in:
Marco Pesenti Gritti 2006-05-11 23:15:23 -04:00
parent 688891fc28
commit 280be4fd1f

View File

@ -169,8 +169,8 @@ class Chat(activity.Activity):
aniter = buffer.get_end_iter() aniter = buffer.get_end_iter()
buffer.insert(aniter, message) buffer.insert(aniter, message)
else: else:
nick = self._group.get_owner().get_nick_name() owner = self._controller.get_group().get_owner()
self._insert_rich_message(nick, text) self._insert_rich_message(owner.get_nick_name(), text)
class BuddyChat(Chat): class BuddyChat(Chat):
def __init__(self, controller, buddy): def __init__(self, controller, buddy):