Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/chat.py
diff options
context:
space:
mode:
Diffstat (limited to 'chat.py')
-rw-r--r--chat.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/chat.py b/chat.py
index 9c9dc11..47302b5 100644
--- a/chat.py
+++ b/chat.py
@@ -76,6 +76,7 @@ class Chat(Activity):
def received_cb(self, id, timestamp, sender, type, flags, text):
try:
aliasing_iface = dbus.Interface(self.conn, tp_conn_aliasing)
+ # XXX: cache this
alias = aliasing_iface.RequestAliases([sender])[0]
print '%s: %s' % (alias, text)
icon = CanvasIcon(