Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim-plugins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlovetox <philipp@hoerist.com>2021-02-28 15:36:45 +0300
committerlovetox <philipp@hoerist.com>2021-02-28 15:37:50 +0300
commitd3b4a8a0569a6473661abbd2af76b1f2226df4fa (patch)
tree8d9010adb60b82a7d90a63f4c08f8c8a0d38bb58 /length_notifier
parentc689948332c9d0d3bd91222bbde6f2e57c6d68c7 (diff)
Adapt to nbxmpp changes
Diffstat (limited to 'length_notifier')
-rw-r--r--length_notifier/length_notifier.py4
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: