util.stanza.preserialize() returns a new table
util.stanza.deserialize() mutates the input and returns it
This is inconsistent and may cause issues if eg a serialized stanza in a larger stored object is deserialized and the object is then saved back.
Zash
on
I started working on this.
I suspect an issue in mod_cloud_notify might be related.
util.stanza.preserialize() returns a new table util.stanza.deserialize() mutates the input and returns it This is inconsistent and may cause issues if eg a serialized stanza in a larger stored object is deserialized and the object is then saved back.
I started working on this. I suspect an issue in mod_cloud_notify might be related.
ChangesFixed in https://hg.prosody.im/trunk/rev/6f97acc4583b
Changes