From ae9d8ae291a50e5264ef0948a18c9b5bb8a67695 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 16 Apr 2021 20:35:24 +0200 Subject: [PATCH] fix: handle /me message properly when logging tangentially fix #3432 (but it was not relevant for a while) --- poezio/logger.py | 2 ++ 1 file changed, 2 insertions(+) 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: