diff --git a/sgx_jmp.rb b/sgx_jmp.rb index 4fd357df12bc7c4bc696a3f891631db434e0bebb..b298c5096f979a97b7588c725d07b8160e50b979 100644 --- a/sgx_jmp.rb +++ b/sgx_jmp.rb @@ -142,6 +142,13 @@ message to: /\Aaccount@/ do |m| end end +before( + :iq, + type: [:error, :result], + to: /\Acustomer_/, + from: /(\A|@)#{CONFIG[:sgx]}(\/|\Z)/ +) { |iq| halt if IQ_MANAGER.fulfill(iq) } + before nil, to: /\Acustomer_/, from: /(\A|@)#{CONFIG[:sgx]}(\/|\Z)/ do |s| sentry_hub = new_sentry_hub(s, name: "stanza_customer") Customer.for_customer_id(