From fe00f0eb23f492f5c15d3ac843c8ce7158daf174 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Mon, 12 Dec 2011 20:31:05 +0100 Subject: ALWAYS display affiliation or role changes, in MucTabs. fixes #2309 --- src/tabs.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/tabs.py b/src/tabs.py index 661b4112..e696f46d 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -1239,14 +1239,17 @@ class MucTab(ChatTab): hide_status_change = config.get_by_tabname('hide_status_change', -1, self.general_jid, True) if hide_status_change < -1: hide_status_change = -1 - if (hide_status_change == -1 or \ + if ((hide_status_change == -1 or \ user.has_talked_since(hide_status_change) or\ user.nick == self.own_nick)\ and\ (affiliation != user.affiliation or\ role != user.role or\ show != user.show or\ - status != user.status): + status != user.status))\ + or\ + (affiliation != user.affiliation or\ + role != user.role): # display the message in the room self._text_buffer.add_message(msg) self.core.on_user_changed_status_in_private('%s/%s' % (from_room, from_nick), msg) -- cgit v1.2.3