From 6fa0039bf2f2e64c576888efb2cafbf30c15dd6e Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Mon, 25 Jul 2022 08:29:50 -0500 Subject: [PATCH] Do not use the promise results here, since they are meant for elsewhere Explicitly return true to avoid passing to next link in the tree. Make sure command stanzas fulfill both command and iq manager if needed. --- sgx_jmp.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sgx_jmp.rb b/sgx_jmp.rb index d349eb5..70f6d13 100644 --- a/sgx_jmp.rb +++ b/sgx_jmp.rb @@ -885,10 +885,13 @@ Command.new( command sessionid: /./ do |iq| COMMAND_MANAGER.fulfill(iq) + IQ_MANAGER.fulfill(iq) + true end iq type: [:result, :error] do |iq| IQ_MANAGER.fulfill(iq) + true end iq type: [:get, :set] do |iq| -- 2.45.2