equal
deleted
inserted
replaced
309 when = when, |
309 when = when, |
310 with = target_bare, |
310 with = target_bare, |
311 resource = target_resource, |
311 resource = target_resource, |
312 stanza = st.preserialize(stanza) |
312 stanza = st.preserialize(stanza) |
313 }); |
313 }); |
314 --[[ This was dropped from the spec |
314 if ok and not c2s then |
315 if ok then |
315 stanza:tag("archived", { xmlns = xmlns_mam, by = jid_bare(orig_to), id = id }):up(); |
316 stanza:tag("archived", { xmlns = xmlns_mam, by = host, id = id }):up(); |
316 end |
317 end |
|
318 --]] |
|
319 else |
317 else |
320 module:log("debug", "Not archiving stanza: %s", stanza:top_tag()); |
318 module:log("debug", "Not archiving stanza: %s", stanza:top_tag()); |
321 end |
319 end |
322 end |
320 end |
323 |
321 |