summaryrefslogtreecommitdiff
path: root/src/tabs
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-10-10 14:20:59 +0200
committermathieui <mathieui@mathieui.net>2014-10-10 14:20:59 +0200
commit8f6ab25fc96e54e2e717fd9ccaf3c07fe6fb9a98 (patch)
treebad9603db1569eabecf5ac4a883392a08c21300d /src/tabs
parent8d2408c16943ca3c7beb70905690e3b1e24079b2 (diff)
downloadpoezio-8f6ab25fc96e54e2e717fd9ccaf3c07fe6fb9a98.tar.gz
poezio-8f6ab25fc96e54e2e717fd9ccaf3c07fe6fb9a98.tar.bz2
poezio-8f6ab25fc96e54e2e717fd9ccaf3c07fe6fb9a98.tar.xz
poezio-8f6ab25fc96e54e2e717fd9ccaf3c07fe6fb9a98.zip
Fix /me display in delayed messages
Diffstat (limited to 'src/tabs')
-rw-r--r--src/tabs/muctab.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tabs/muctab.py b/src/tabs/muctab.py
index 4dc7a2cf..5167dffd 100644
--- a/src/tabs/muctab.py
+++ b/src/tabs/muctab.py
@@ -1523,11 +1523,11 @@ class MucTab(ChatTab):
config.get_by_tabname('notify_messages',
True, self.name)):
self.state = 'message'
- if time:
+ if time and not txt.startswith('/me'):
txt = '\x19%(info_col)s}%(txt)s' % {
'txt': txt,
'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': txt,
'info_col': dump_tuple(get_theme().COLOR_INFORMATION_TEXT)}