fix: correct for dedup in message event

Phillip Davis created

Change summary

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

Detailed changes

sgx-bwmsgsv2.rb 🔗

@@ -1202,7 +1202,7 @@ class WebhookHandler < Goliath::API
 			MessageEvent::In.new(
 				timestamp: jparams['time'],
 				from: jparams['from'],
-				to: jparams['to'],
+				to: jparams['to'] << users_num,
 				owner: jparams['owner'],
 				bandwidth_id: jparams['id'],
 				body: jparams['text'].to_s,