branch | 0.11 |
changeset 9771 | 57ceffb13963 |
parent 9655 | 989cf872d5c0 |
child 9772 | ab12fd48e124 |
--- a/plugins/mod_csi_simple.lua Sun Jan 06 12:17:00 2019 +0100 +++ b/plugins/mod_csi_simple.lua Sun Jan 06 21:03:09 2019 +0100 @@ -63,8 +63,10 @@ if st_type == "headline" then return false; end - local body = stanza:get_child_text("body"); - return body; + if stanza:get_child("body") then + return true; + end + return false; end return true; end, -1);