util/stanza.lua
changeset 9492 09b873ac7eb8
parent 9310 feaef6215bb8
child 9634 bff66c3faceb
--- a/util/stanza.lua	Fri Oct 12 00:51:56 2018 +0200
+++ b/util/stanza.lua	Fri Oct 12 00:52:18 2018 +0200
@@ -359,6 +359,8 @@
 	return s;
 end
 
+stanza_mt.__freeze = preserialize;
+
 local function deserialize(stanza)
 	-- Set metatable
 	if stanza then