diff options
author | Waqas Hussain <waqas20@gmail.com> | 2008-11-13 12:07:53 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2008-11-13 12:07:53 +0500 |
commit | a3018d64216b7df0b18deaa5bb0bc1625c1ed670 (patch) | |
tree | f3c764106c8d3d620c40f78e55f6228e1a93c5ba /util/stanza.lua | |
parent | eea12d2279cd8f1e41c9234430e961754be6ce76 (diff) | |
download | prosody-a3018d64216b7df0b18deaa5bb0bc1625c1ed670.tar.gz prosody-a3018d64216b7df0b18deaa5bb0bc1625c1ed670.zip |
Fixed stanza deserialization
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 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; |