diff options
author | lovetox <philipp@hoerist.com> | 2021-02-28 15:36:45 +0300 |
---|---|---|
committer | lovetox <philipp@hoerist.com> | 2021-02-28 15:37:50 +0300 |
commit | d3b4a8a0569a6473661abbd2af76b1f2226df4fa (patch) | |
tree | 8d9010adb60b82a7d90a63f4c08f8c8a0d38bb58 /length_notifier | |
parent | c689948332c9d0d3bd91222bbde6f2e57c6d68c7 (diff) |
Adapt to nbxmpp changes
Diffstat (limited to 'length_notifier')
-rw-r--r-- | length_notifier/length_notifier.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/length_notifier/length_notifier.py b/length_notifier/length_notifier.py index a7cc9ec..ae35266 100644 --- a/length_notifier/length_notifier.py +++ b/length_notifier/length_notifier.py @@ -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: |