Unverified Commit 1355d741 authored by mathieui's avatar mathieui

Fix MUC PM logging (#3441)

parent 0df17b60
...@@ -196,6 +196,7 @@ class Logger: ...@@ -196,6 +196,7 @@ class Logger:
logged_msg = build_log_message(nick, msg, date=date, typ=typ) logged_msg = build_log_message(nick, msg, date=date, typ=typ)
if not logged_msg: if not logged_msg:
return True return True
jid = str(jid).replace('/', '\\')
if jid in self._fds.keys(): if jid in self._fds.keys():
fd = self._fds[jid] fd = self._fds[jid]
else: else:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment