diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-01-09 17:27:53 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-01-09 17:27:53 +0000 |
commit | c1e6b9426632394045549a99cac18b11955bb687 (patch) | |
tree | c60b1a6cdda271357acff2c0ff9cfe201b258f34 /util/stanza.lua | |
parent | fb680dde0c80e2f84540f500983fcc9275c64e58 (diff) | |
download | prosody-c1e6b9426632394045549a99cac18b11955bb687.tar.gz prosody-c1e6b9426632394045549a99cac18b11955bb687.zip |
Restore fix for missing last_add on deserialized stanzas. Thanks to tsing for discovering.
Diffstat (limited to 'util/stanza.lua')
-rw-r--r-- | util/stanza.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/stanza.lua b/util/stanza.lua index 6af7e2b2..c4cecb6f 100644 --- a/util/stanza.lua +++ b/util/stanza.lua @@ -199,6 +199,9 @@ function deserialize(stanza) end end stanza.tags = tags; + if not stanza.last_add then + stanza.last_add = {}; + end end end |