Restore fix for missing last_add on deserialized stanzas. Thanks to tsing for discovering.

Fri, 09 Jan 2009 17:27:53 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Fri, 09 Jan 2009 17:27:53 +0000
changeset 680
734994b61907
parent 679
9506bf204b1a
child 681
686b73503ce8

Restore fix for missing last_add on deserialized stanzas. Thanks to tsing for discovering.

util/stanza.lua file | annotate | diff | comparison | revisions
--- 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
 	

mercurial