diff options
author | lovetox <philipp@hoerist.com> | 2020-04-13 16:30:45 +0300 |
---|---|---|
committer | lovetox <philipp@hoerist.com> | 2020-04-13 16:30:45 +0300 |
commit | 2862f900e8d04d6321717ce44b09dca70a8c49c6 (patch) | |
tree | 46d9cf31d7141adf2775b6a5dcab2bdcc244c5ae | |
parent | 2fd29576567326da5cd3cad3bb08123bec511581 (diff) |
JID: return bool for isFull()
-rw-r--r-- | nbxmpp/protocol.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nbxmpp/protocol.py b/nbxmpp/protocol.py index bed2e39..9c7b8e7 100644 --- a/nbxmpp/protocol.py +++ b/nbxmpp/protocol.py @@ -905,7 +905,7 @@ class JID: @property def isFull(self): - return self.domain and self.node and self.resource + return bool(self.domain and self.node and self.resource) def __eq__(self, other): """ |