Closed tanukijs closed 1 year ago
ok, please make the pull request with your fixes I will check it on my side and publish it with the new dev version
Thanks for your fast replying, i'll do that soon!
@tanukijs the descendants processing was reverted in version 0.4.4-dev.3, please try it. please close this ticket if the issue was resolved
Hello @TatankaConCube sorry for the time i took but it seem that the bug is resolved. Thank u.
Hello :wave:
In my case, this commit https://github.com/vukoye/xmpp_dart/commit/07d6f54891c0bb55886a3f2182aec4f8039971d2 (@TatankaConCube) introduced critical errors. I am using Flutter 3.7.0 and Fluux.io.
XmlNode.descendants
has been changed toXmlNode.children
but those two have a different behavior.From the log i can see the following stanza sent by the server:
For me it seem a bit weird that Fluux doesn't close the
stream:stream
tag but following the RFC6120, the tag seem to be unclosed too. From the debugger i can see thatstream:stream
wrapstream:features
, making it a child.The actual tree looks like
steam:stream
->stream:features
. WithXmlNode.children
, we're not able to retrieve thestream:features
node sinceXmlNode.children
only return direct children wheresXmlNode.descendants
previously return children, grandchildren, ….I solved the problem by going back to
xmpp_stone: 0.4.3-dev.1
and i'll make a fork/pr to have it working in the latest version.