Software /
code /
prosody
Comparison
util/stanza.lua @ 246:0904fd197cbe
Fixed stanza deserialization
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Thu, 13 Nov 2008 12:07:53 +0500 |
parent | 209:e9de0803676d |
child | 251:5b6dec537914 |
comparison
equal
deleted
inserted
replaced
240:c48dbfa6b1a6 | 246:0904fd197cbe |
---|---|
147 t_insert(tags, child); | 147 t_insert(tags, child); |
148 end | 148 end |
149 end | 149 end |
150 stanza.tags = tags; | 150 stanza.tags = tags; |
151 end | 151 end |
152 if not stanza.last_add then | |
153 stanza.last_add = {}; | |
154 end | |
152 end | 155 end |
153 | 156 |
154 return stanza; | 157 return stanza; |
155 end | 158 end |
156 | 159 |