Adapt to nbxmpp changes

This commit is contained in:
lovetox
2021-02-28 13:36:45 +01:00
parent c689948332
commit d3b4a8a056
8 changed files with 25 additions and 25 deletions

View File

@@ -106,7 +106,7 @@ class AntiSpam(BaseModule):
properties.is_mam_message):
return False
msg_from = properties.jid if is_muc_pm else properties.jid.getBare()
msg_from = properties.jid if is_muc_pm else properties.jid.bare
if msg_from in self._contacted_jids:
return False