We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41e9ea6 commit df40acbCopy full SHA for df40acb
app/controllers/better_together/messages_controller.rb
@@ -34,11 +34,6 @@ def notify_participants(message)
34
# Get all participants except the sender
35
recipients = message.conversation.participants.where.not(id: message.sender_id)
36
37
- # Log recipients for debugging
38
- puts "Recipients for message notification: #{recipients.map(&:id)}"
39
-
40
- # broadcast_to_recipients(message, recipients)
41
42
# Pass the array of recipients to the notification
43
BetterTogether::NewMessageNotifier.with(record: message).deliver_later(recipients)
44
end
0 commit comments