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 d349eb52e18f14c16ac07402c9dd448439fdda6f..70f6d1399975462691ff49be191c29e0cf2703b6 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|