From 8fc925f35c1d44f8bbd35edc9991bbf1b7f76e77 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Wed, 21 Jul 2021 11:32:14 -0500 Subject: [PATCH] hotfix --- sgx_jmp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sgx_jmp.rb b/sgx_jmp.rb index 9cf9b86..c2d51cc 100644 --- a/sgx_jmp.rb +++ b/sgx_jmp.rb @@ -173,7 +173,7 @@ end message(to: /\A#{CONFIG[:component][:jid]}\Z/) { true } def billable_message(m) - !m.body.empty? || m.find("ns:x", ns: OOB.registered_ns).first + (m.body && !m.body.empty?) || m.find("ns:x", ns: OOB.registered_ns).first end message do |m| -- 2.45.2