aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/stanza.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/stanza.lua b/util/stanza.lua
index 52f372cc..79d3167e 100644
--- a/util/stanza.lua
+++ b/util/stanza.lua
@@ -149,6 +149,9 @@ function deserialize(stanza)
end
stanza.tags = tags;
end
+ if not stanza.last_add then
+ stanza.last_add = {};
+ end
end
return stanza;