Fix /me in history messages in a better way.
This commit is contained in:
parent
587bd44f9b
commit
bbda0b7481
1 changed files with 1 additions and 1 deletions
|
@ -1319,7 +1319,7 @@ class MucTab(ChatTab):
|
||||||
if self.state != 'highlight':
|
if self.state != 'highlight':
|
||||||
self.state = 'message'
|
self.state = 'message'
|
||||||
nick_color = nick_color or None
|
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,)
|
txt = '\x195}%s' % (txt,)
|
||||||
else: # TODO
|
else: # TODO
|
||||||
highlight = self.do_highlight(txt, time, nickname)
|
highlight = self.do_highlight(txt, time, nickname)
|
||||||
|
|
Loading…
Reference in a new issue