summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-12-31 02:22:28 +0100
committermathieui <mathieui@mathieui.net>2012-12-31 02:22:28 +0100
commit26ecafc6e5f5090014ff54397364e898410d46b8 (patch)
treeef03f1f8abc82336269e35d4063d930e5dd38d91 /src/tabs.py
parentf1d2aa67d03be37fc82da36600a468cf75982ba9 (diff)
downloadpoezio-26ecafc6e5f5090014ff54397364e898410d46b8.tar.gz
poezio-26ecafc6e5f5090014ff54397364e898410d46b8.tar.bz2
poezio-26ecafc6e5f5090014ff54397364e898410d46b8.tar.xz
poezio-26ecafc6e5f5090014ff54397364e898410d46b8.zip
Fix #2161
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 1bdeb2ed..770236d9 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -1528,12 +1528,12 @@ class MucTab(ChatTab):
display_message = True
if status != user.status:
# if the user sets his status to nothing
- if not status and show in SHOW_NAME:
- msg += _('show: %s, ') % SHOW_NAME[show]
- else:
+ if status:
msg += _('status: %s, ') % status
- display_message = True
-
+ display_message = True
+ elif show in SHOW_NAME and show == user.show:
+ msg += _('show: %s, ') % SHOW_NAME[show]
+ display_message = True
if not display_message:
return
msg = msg[:-2] # remove the last ", "