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

@@ -98,8 +98,8 @@ class LengthNotifierPlugin(GajimPlugin):
except Exception as error:
log.debug('Error parsing JID: %s (%s)' % (error, allowed_jid))
continue
if address.isDomain:
if current_jid.getDomain() == address:
if address.is_domain:
if current_jid.domain == address:
log.debug('Add counter for Domain %s' % address)
return True
if current_jid == address: