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

This commit is contained in:
Yann Leboulanger 2011-05-01 18:31:44 +02:00
parent f01e2cdf2d
commit 9250540825
1 changed files with 2 additions and 1 deletions

View File

@ -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)