Only return command list for bare domain

Stephen Paul Weber created

Change summary

sgx_jmp.rb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

Detailed changes

sgx_jmp.rb 🔗

@@ -429,7 +429,10 @@ disco_info do |iq|
 	self << reply
 end
 
-disco_items node: "http://jabber.org/protocol/commands" do |iq|
+disco_items(
+	to: Blather::JID.new(CONFIG[:component][:jid]),
+	node: "http://jabber.org/protocol/commands"
+) do |iq|
 	StatsD.increment("command_list")
 
 	reply = iq.reply