Philipp Hörist pushed to branch master at gajim / python-nbxmpp


Commits:
1c25b723 by Philipp Hörist at 2025-03-03T20:48:07+01:00
fix: DiscoInfo: Return correct values in get_field_value()

- - - - -


1 changed file:

- nbxmpp/structs.py


Changes:

=====================================
nbxmpp/structs.py
=====================================
@@ -480,7 +480,7 @@ class DiscoInfo(NamedTuple):
 
                 if dataform[var].type_ == "jid-multi":
                     return dataform[var].values or None
-                return dataform[var].value or None
+                return dataform[var].value
 
             except Exception:
                 continue



View it on GitLab: 
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/1c25b723c34b393dc63ede801edea4008a152402

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/1c25b723c34b393dc63ede801edea4008a152402
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to