Skip to content

Commit b081894

Browse files
committed
fix: solve messaging channel
1 parent aa7fa6d commit b081894

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/modules/messaging/channels/direct_message_channel.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ def unsubscribed
3636

3737
# Receives { "content" => "...", "recipient_id" => "...", "recipient_type" => "..." } from client.
3838
def speak(data) # rubocop:disable Metrics/MethodLength
39+
Current.organization_id = current_org_id
40+
3941
content = data['content'].to_s.strip
4042
recipient_id = data['recipient_id'].to_s
4143

0 commit comments

Comments
 (0)