equal
deleted
inserted
replaced
100 if child then |
100 if child then |
101 stanza:add_child(child); |
101 stanza:add_child(child); |
102 end |
102 end |
103 end |
103 end |
104 if extra.custom then |
104 if extra.custom then |
105 for _, child in extra.custom do |
105 for _, child in ipairs(extra.custom) do |
106 if not st.is_stanza(child) then |
106 if not st.is_stanza(child) then |
107 error("all extra.custom items must be stanzas") |
107 error("all extra.custom items must be stanzas") |
108 end |
108 end |
109 stanza:add_child(child); |
109 stanza:add_child(child); |
110 end |
110 end |