Fix the function that checks if we should log message. Fixes #6873
This commit is contained in:
parent
f01e2cdf2d
commit
9250540825
|
@ -78,7 +78,8 @@ class StanzaSession(object):
|
||||||
self.negotiated = {}
|
self.negotiated = {}
|
||||||
|
|
||||||
def is_loggable(self):
|
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):
|
def get_to(self):
|
||||||
to = str(self.jid)
|
to = str(self.jid)
|
||||||
|
|
Loading…
Reference in New Issue