changeset 7701 | edacd0bef0e8 |
parent 7675 | 27f5db07bec9 |
child 7721 | c58075c4d375 |
--- a/plugins/mod_carbons.lua Sun Oct 16 00:36:05 2016 +0200 +++ b/plugins/mod_carbons.lua Mon Oct 17 23:23:36 2016 +0200 @@ -26,7 +26,7 @@ local orig_from = stanza.attr.from; local orig_to = stanza.attr.to; - if not(orig_type == "chat" or orig_type == "normal" and stanza: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