Philipp Hörist pushed to branch master at gajim / gajim
Commits:
b2f17ad6 by lovetox at 2021-11-03T23:36:49+01:00
Don’t use getQueryPayload()
This will be removed from nbxmpp
- - - - -
1 changed file:
- gajim/common/modules/search.py
Changes:
=====================================
gajim/common/modules/search.py
=====================================
@@ -47,7 +47,8 @@ def _fields_received(self, _nbxmpp_client, stanza):
is_dataform = True
else:
data = {}
- for i in stanza.getQueryPayload():
+ query = stanza.getQuery()
+ for i in query.getChildren():
data[i.getName()] = i.getData()
else:
self._log.info('Error: %s', stanza.getError())
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/b2f17ad66962d4404e260acca815d3c385aa9341
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/b2f17ad66962d4404e260acca815d3c385aa9341
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