Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/chat/Chat.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-07-26 11:41:49 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-07-26 11:41:49 (GMT)
commit5f628f1a4fcb006afd006a459bd14f05e9ce18c5 (patch)
treef8135f9eebf154d8457db86b15e15806e85ad10f /sugar/chat/Chat.py
parent0947581a113af6eaa3660ae37b2720c4806ab0e8 (diff)
Get presence to work on the chat window
Diffstat (limited to 'sugar/chat/Chat.py')
-rw-r--r--sugar/chat/Chat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar/chat/Chat.py b/sugar/chat/Chat.py
index db4255f..058cac5 100644
--- a/sugar/chat/Chat.py
+++ b/sugar/chat/Chat.py
@@ -209,7 +209,7 @@ class Chat(gtk.VBox):
def recv_message(self, message):
"""Insert a remote chat message into the chat buffer."""
[nick, msg] = Chat.deserialize_message(message)
- buddy = self._pservice.get_buddy_by_nick_name(nick)
+ buddy = self._pservice.get_buddy_by_name(nick)
if not buddy:
logging.error('The buddy %s is not present.' % (nick))
return