Fix /me display in delayed messages
This commit is contained in:
parent
8d2408c169
commit
8f6ab25fc9
1 changed files with 2 additions and 2 deletions
|
@ -1523,11 +1523,11 @@ class MucTab(ChatTab):
|
||||||
config.get_by_tabname('notify_messages',
|
config.get_by_tabname('notify_messages',
|
||||||
True, self.name)):
|
True, self.name)):
|
||||||
self.state = 'message'
|
self.state = 'message'
|
||||||
if time:
|
if time and not txt.startswith('/me'):
|
||||||
txt = '\x19%(info_col)s}%(txt)s' % {
|
txt = '\x19%(info_col)s}%(txt)s' % {
|
||||||
'txt': txt,
|
'txt': txt,
|
||||||
'info_col': dump_tuple(get_theme().COLOR_LOG_MSG)}
|
'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 = '\x19%(info_col)s}%(txt)s' % {
|
||||||
'txt': txt,
|
'txt': txt,
|
||||||
'info_col': dump_tuple(get_theme().COLOR_INFORMATION_TEXT)}
|
'info_col': dump_tuple(get_theme().COLOR_INFORMATION_TEXT)}
|
||||||
|
|
Loading…
Reference in a new issue