Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
8f6930d7 by Philipp Hörist at 2025-04-19T19:48:41+02:00
fix: Dataforms: Fix init list fields with no options
Fixes #168
- - - - -
1 changed file:
- nbxmpp/modules/dataforms.py
Changes:
=====================================
nbxmpp/modules/dataforms.py
=====================================
@@ -143,7 +143,7 @@ class DataField(ExtendedNode):
if desc is not None:
self.desc = desc
self.required = required
- self.options = options
+ self.options = options or []
@property
def type_(self) -> str:
View it on GitLab:
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/8f6930d7feb8ce4dee1889e24a6cccd60a710198
--
View it on GitLab:
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/8f6930d7feb8ce4dee1889e24a6cccd60a710198
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]