diff options
Diffstat (limited to 'nbxmpp/structs.py')
-rw-r--r-- | nbxmpp/structs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nbxmpp/structs.py b/nbxmpp/structs.py index c71f046..fa6d00d 100644 --- a/nbxmpp/structs.py +++ b/nbxmpp/structs.py @@ -653,8 +653,8 @@ class DiscoInfo(NamedTuple): def has_identity(self, category: str, type_: str) -> bool: for identity in self.identities: if (identity.category == category and - identity.type == type_): - return True + identity.type == type_): + return True return False @property |