From 26ecafc6e5f5090014ff54397364e898410d46b8 Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 31 Dec 2012 02:22:28 +0100 Subject: Fix #2161 --- src/tabs.py | 10 +++++----- 1 file 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 ", " -- cgit v1.2.3