From 2b7b276bdbe03e56853d7039dd2a8ef71dd4a71c Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Wed, 30 Jun 2021 12:27:57 -0500 Subject: [PATCH] Spec says we must reply to all IQs So say feature-not-implemented if we haven't got it with some other handler. --- sgx_jmp.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sgx_jmp.rb b/sgx_jmp.rb index 9aa9589..a0e713b 100644 --- a/sgx_jmp.rb +++ b/sgx_jmp.rb @@ -407,3 +407,6 @@ iq type: [:result, :error] do |iq| IQ_MANAGER.fulfill(iq) end +iq type: [:get, :set] do |iq| + self << Blather::StanzaError.new(iq, "feature-not-implemented", :cancel) +end -- 2.45.2