Philipp Hörist pushed to branch master at gajim / gajim
Commits:
b0d561f5 by lovetox at 2022-01-13T22:25:30+01:00
VariantMixin: Support boolean fields
Fixes #10749
- - - - -
1 changed file:
- gajim/common/structs.py
Changes:
=====================================
gajim/common/structs.py
=====================================
@@ -274,6 +274,9 @@ def _get_type_and_variant_string(self,
if 'int' in field_type:
return str, f'{variant_str}i'
+ if 'bool' in field_type:
+ return bool, f'{variant_str}b'
+
if 'JID' in field_type:
return JID, f'{variant_str}s'
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/b0d561f5aab4ab32d9c3ffcf1ad7eac2d53aad8a
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/b0d561f5aab4ab32d9c3ffcf1ad7eac2d53aad8a
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits