summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2019-02-24 15:02:54 +0100
committermathieui <mathieui@mathieui.net>2019-02-24 15:02:54 +0100
commit1355d7411e780dec3b87af47165b58a38eede0d4 (patch)
treec61cf2a4157d2de5c8a2c127d9bb919aa1b52d22
parent0df17b60c3d19459d923b3a227e965724fe5302e (diff)
downloadpoezio-1355d7411e780dec3b87af47165b58a38eede0d4.tar.gz
poezio-1355d7411e780dec3b87af47165b58a38eede0d4.tar.bz2
poezio-1355d7411e780dec3b87af47165b58a38eede0d4.tar.xz
poezio-1355d7411e780dec3b87af47165b58a38eede0d4.zip
Fix MUC PM logging (#3441)
-rw-r--r--poezio/logger.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/poezio/logger.py b/poezio/logger.py
index d43cc759..ca1f059f 100644
--- a/poezio/logger.py
+++ b/poezio/logger.py
@@ -196,6 +196,7 @@ class Logger:
logged_msg = build_log_message(nick, msg, date=date, typ=typ)
if not logged_msg:
return True
+ jid = str(jid).replace('/', '\\')
if jid in self._fds.keys():
fd = self._fds[jid]
else: