author | Kim Alvefur <zash@zash.se> |
Thu, 27 Aug 2015 12:16:39 +0200 | |
changeset 1798 | eefe4b69b5f6 |
parent 1797 | 152439ca92ee |
child 1799 | 91c01ef82807 |
--- a/mod_carbons/mod_carbons.lua Thu Aug 27 12:14:40 2015 +0200 +++ b/mod_carbons/mod_carbons.lua Thu Aug 27 12:16:39 2015 +0200 @@ -32,7 +32,7 @@ local orig_from = stanza.attr.from; local orig_to = stanza.attr.to; - if not(orig_type == "chat" or orig_type == "normal" and standard:get_child("body")) then + if not(orig_type == "chat" or orig_type == "normal" and stanza:get_child("body")) then return -- Only chat type messages end