# HG changeset patch # User Waqas Hussain # Date 1226560073 -18000 # Node ID 0904fd197cbed469cb9dd05c4146253345c7ccb8 # Parent c48dbfa6b1a6716294a58a98b5030d153809fa41 Fixed stanza deserialization diff -r c48dbfa6b1a6 -r 0904fd197cbe util/stanza.lua --- a/util/stanza.lua Mon Nov 10 00:00:46 2008 +0000 +++ b/util/stanza.lua Thu Nov 13 12:07:53 2008 +0500 @@ -149,6 +149,9 @@ end stanza.tags = tags; end + if not stanza.last_add then + stanza.last_add = {}; + end end return stanza;