Skip to content

Commit df40acb

Browse files
committed
Remove debug statement
1 parent 41e9ea6 commit df40acb

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

app/controllers/better_together/messages_controller.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ def notify_participants(message)
3434
# Get all participants except the sender
3535
recipients = message.conversation.participants.where.not(id: message.sender_id)
3636

37-
# Log recipients for debugging
38-
puts "Recipients for message notification: #{recipients.map(&:id)}"
39-
40-
# broadcast_to_recipients(message, recipients)
41-
4237
# Pass the array of recipients to the notification
4338
BetterTogether::NewMessageNotifier.with(record: message).deliver_later(recipients)
4439
end

0 commit comments

Comments
 (0)