diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-11-25 12:07:22 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-11-25 12:07:22 +0100 |
commit | bbda0b748102ae8dd19499fdabfc8e5462c987cb (patch) | |
tree | a021a10286fd049ee4602babb475a12061a237c7 | |
parent | 587bd44f9bc2ac0dbd86bfdf4483369ca26b02a2 (diff) | |
download | poezio-bbda0b748102ae8dd19499fdabfc8e5462c987cb.tar.gz poezio-bbda0b748102ae8dd19499fdabfc8e5462c987cb.tar.bz2 poezio-bbda0b748102ae8dd19499fdabfc8e5462c987cb.tar.xz poezio-bbda0b748102ae8dd19499fdabfc8e5462c987cb.zip |
Fix /me in history messages in a better way.
-rw-r--r-- | src/tabs.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |