summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-03-29 14:48:27 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-03-29 14:48:27 +0200
commit8108b703a82862f8f4517d7f88edccfc9d6eb351 (patch)
treec5a725b51eac8915a1d65defc7fea6e160a75f25
parent25162f0a064c7412a22654d83c8f1ef92f605d82 (diff)
downloadpoezio-8108b703a82862f8f4517d7f88edccfc9d6eb351.tar.gz
poezio-8108b703a82862f8f4517d7f88edccfc9d6eb351.tar.bz2
poezio-8108b703a82862f8f4517d7f88edccfc9d6eb351.tar.xz
poezio-8108b703a82862f8f4517d7f88edccfc9d6eb351.zip
Fix the color in join message
-rw-r--r--src/tabs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index f0440102..1ce3afec 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -766,7 +766,7 @@ class MucTab(ChatTab):
if not jid.full:
room.add_message('\x194%(spec)s \x193%(nick)s\x195 joined the room' % {'nick':from_nick, 'spec':theme.CHAR_JOIN})
else:
- room.add_message('\x194%(spec)s \x193%(nick)s (\x196%(jid)s\x195 joined the room' % {'spec':theme.CHAR_JOIN, 'nick':from_nick, 'jid':jid.full})
+ room.add_message('\x194%(spec)s \x193%(nick)s (\x194%(jid)s\x195) joined the room' % {'spec':theme.CHAR_JOIN, 'nick':from_nick, 'jid':jid.full})
def on_user_nick_change(self, room, presence, user, from_nick, from_room):
new_nick = presence.find('{http://jabber.org/protocol/muc#user}x/{http://jabber.org/protocol/muc#user}item').attrib['nick']