summaryrefslogtreecommitdiff
path: root/poezio
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-09-25 07:36:47 +0200
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-09-25 07:36:47 +0200
commit0ed89234598e9fa05b076c1421c559b5d55c506f (patch)
tree2d36d0fe76365a66ed93ea7f0a6796a2cfa0fa9b /poezio
parent661ee90ea23ba7b80eae28d54969593bfc774f9f (diff)
downloadpoezio-0ed89234598e9fa05b076c1421c559b5d55c506f.tar.gz
poezio-0ed89234598e9fa05b076c1421c559b5d55c506f.tar.bz2
poezio-0ed89234598e9fa05b076c1421c559b5d55c506f.tar.xz
poezio-0ed89234598e9fa05b076c1421c559b5d55c506f.zip
Fix wrong quit char color when someone leaves a MUC.
Diffstat (limited to 'poezio')
-rw-r--r--poezio/tabs/privatetab.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/poezio/tabs/privatetab.py b/poezio/tabs/privatetab.py
index e9e8ff6e..b110a092 100644
--- a/poezio/tabs/privatetab.py
+++ b/poezio/tabs/privatetab.py
@@ -334,20 +334,20 @@ class PrivateTab(OneToOneTab):
color = dump_tuple(get_theme().COLOR_REMOTE_USER)
if not status_message:
- self.add_message('\x19%(join_col)s}%(spec)s \x19%(nick_col)s}'
+ self.add_message('\x19%(quit_col)s}%(spec)s \x19%(nick_col)s}'
'%(nick)s\x19%(info_col)s} has left the room' % {
'nick': user.nick, 'spec': get_theme().CHAR_QUIT,
'nick_col': color,
- 'join_col': dump_tuple(get_theme().COLOR_JOIN_CHAR),
+ 'quit_col': dump_tuple(get_theme().COLOR_QUIT_CHAR),
'info_col': dump_tuple(get_theme().COLOR_INFORMATION_TEXT)},
typ=2)
else:
- self.add_message('\x19%(join_col)s}%(spec)s \x19%(nick_col)s}'
+ self.add_message('\x19%(quit_col)s}%(spec)s \x19%(nick_col)s}'
'%(nick)s\x19%(info_col)s} has left the room'
' (%(status)s)' % { 'status': status_message,
'nick': user.nick, 'spec': get_theme().CHAR_QUIT,
'nick_col': color,
- 'join_col': dump_tuple(get_theme().COLOR_JOIN_CHAR),
+ 'quit_col': dump_tuple(get_theme().COLOR_QUIT_CHAR),
'info_col': dump_tuple(get_theme().COLOR_INFORMATION_TEXT)},
typ=2)
return self.core.current_tab() is self