Fix /me in history messages in a better way.

This commit is contained in:
Florent Le Coz 2011-11-25 12:07:22 +01:00
parent 587bd44f9b
commit bbda0b7481

View file

@ -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)