projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
236de71
)
Restore fix for missing last_add on deserialized stanzas. Thanks to tsing for discove...
author
Matthew Wild
<mwild1@gmail.com>
Fri, 9 Jan 2009 17:27:53 +0000
(17:27 +0000)
committer
Matthew Wild
<mwild1@gmail.com>
Fri, 9 Jan 2009 17:27:53 +0000
(17:27 +0000)
util/stanza.lua
patch
|
blob
|
history
diff --git
a/util/stanza.lua
b/util/stanza.lua
index 6af7e2b22e386b3ff045bea23c5badc0b7d39463..c4cecb6f9e36984af4e98c093acb04ab0d29ea9c 100644
(file)
--- 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