summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/logger.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/poezio/logger.py b/poezio/logger.py
index e46be469..429d5328 100644
--- a/poezio/logger.py
+++ b/poezio/logger.py
@@ -235,6 +235,8 @@ class Logger:
typ = 'MI'
if isinstance(msg, Message):
nick = msg.nickname or ''
+ if msg.me:
+ txt = f'/me {txt}'
typ = 'MR'
logged_msg = build_log_message(nick, txt, date=date, prefix=typ)
if not logged_msg: