# HG changeset patch # User Matthew Wild # Date 1231522073 0 # Node ID 734994b61907f056df2e51971f0755cdc73c587d # Parent 9506bf204b1ab4b96a54452ad2ec1528f33e631d Restore fix for missing last_add on deserialized stanzas. Thanks to tsing for discovering. diff -r 9506bf204b1a -r 734994b61907 util/stanza.lua --- a/util/stanza.lua Fri Jan 09 16:33:09 2009 +0000 +++ b/util/stanza.lua Fri Jan 09 17:27:53 2009 +0000 @@ -199,6 +199,9 @@ end end stanza.tags = tags; + if not stanza.last_add then + stanza.last_add = {}; + end end end