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

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'nbxmpp/structs.py')
-rw-r--r--nbxmpp/structs.py4
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