Send to the correct target, do not assume cheogram

Stephen Paul Weber created

Backport from prod hotfix

Change summary

sgx-bwmsgsv2.rb | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

Detailed changes

sgx-bwmsgsv2.rb 🔗

@@ -934,9 +934,8 @@ class WebhookHandler < Goliath::API
 				text = jparams['text']
 
 				if jparams['to'].length > 1
-					# TODO
 					msg = Blather::Stanza::Message.new(
-						'cheogram.com',
+						Blather::JID.new(bare_jid).domain,
 						text
 					)