Skip to content
Snippets Groups Projects
Commit 92505408 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

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

parent f01e2cdf
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,8 @@ class StanzaSession(object):
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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment