Software /
code /
prosody-modules
Diff
mod_carbons/mod_carbons.lua @ 545:77f350635f4f
mod_carbons: Update to Carbons v0.6.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 10 Jan 2012 21:17:13 +0100 |
parent | 521:6d0d2673f95e |
child | 585:ce2798a1bc56 |
line wrap: on
line diff
--- a/mod_carbons/mod_carbons.lua Tue Jan 10 19:57:06 2012 +0000 +++ b/mod_carbons/mod_carbons.lua Tue Jan 10 21:17:13 2012 +0100 @@ -83,8 +83,8 @@ to = full_jid, type = orig_type, } + :tag(c2s and "sent" or "received", { xmlns = xmlns_carbons }):up() :tag("forwarded", { xmlns = xmlns_forward }) - :tag(c2s and "sent" or "received", { xmlns = xmlns_carbons }):up() :add_child(msg); core_post_stanza(origin, fwd); end