Commit 92505408 authored by Yann Leboulanger's avatar Yann Leboulanger

Fix the function that checks if we should log message. Fixes #6873

parent f01e2cdf
......@@ -78,7 +78,8 @@ def __init__(self, conn, jid, thread_id, type_):
self.negotiated = {}
def is_loggable(self):
return self.loggable and gajim.config.should_log(self.conn.name, self.jid)
return self.loggable and gajim.config.should_log(self.conn.name,
self.jid.getStripped())
def get_to(self):
to = str(self.jid)
......
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