lib/backend_sgx.rb 🔗
@@ -55,8 +55,9 @@ class BackendSgx
end
def commands
- iq = stanza(Blather::Stanza::DiscoItems.new(:get, COMMANDS_DISCO_NODE))
- IQ_MANAGER.write(iq).then(&:items).catch { |e|
+ iq = Blather::Stanza::DiscoItems.new(:get, COMMANDS_DISCO_NODE)
+ iq.to = ""
+ IQ_MANAGER.write(stanza(iq)).then(&:items).catch { |e|
Sentry.capture_exception(e)
[]
}