From bbda0b748102ae8dd19499fdabfc8e5462c987cb Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Fri, 25 Nov 2011 12:07:22 +0100 Subject: Fix /me in history messages in a better way. --- src/tabs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/tabs.py b/src/tabs.py index e67cf5b6..7398aacd 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -1319,7 +1319,7 @@ class MucTab(ChatTab): if self.state != 'highlight': self.state = 'message' nick_color = nick_color or None - if not nickname or time: + if (not nickname or time) and not txt.startswith('/me '): txt = '\x195}%s' % (txt,) else: # TODO highlight = self.do_highlight(txt, time, nickname) -- cgit v1.2.3