From 8f6ab25fc96e54e2e717fd9ccaf3c07fe6fb9a98 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 10 Oct 2014 14:20:59 +0200 Subject: Fix /me display in delayed messages --- src/tabs/muctab.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tabs/muctab.py b/src/tabs/muctab.py index 4dc7a2cf..5167dffd 100644 --- a/src/tabs/muctab.py +++ b/src/tabs/muctab.py @@ -1523,11 +1523,11 @@ class MucTab(ChatTab): config.get_by_tabname('notify_messages', True, self.name)): self.state = 'message' - if time: + if time and not txt.startswith('/me'): txt = '\x19%(info_col)s}%(txt)s' % { 'txt': txt, 'info_col': dump_tuple(get_theme().COLOR_LOG_MSG)} - elif (not nickname or time) and not txt.startswith('/me '): + elif not nickname: txt = '\x19%(info_col)s}%(txt)s' % { 'txt': txt, 'info_col': dump_tuple(get_theme().COLOR_INFORMATION_TEXT)} -- cgit v1.2.3