Skip to content

A platform for community discussion. Free, open, simple.

DEV: fixes deprecation warning in SendMessageNotifications (#20318)

Joffrey JAFFEUX79c94afdc562
diff --git a/plugins/chat/lib/chat_notifier.rb b/plugins/chat/lib/chat_notifier.rb
index 017aa1b3200..4719b968019 100644
--- a/plugins/chat/lib/chat_notifier.rb
+++ b/plugins/chat/lib/chat_notifier.rb
@@ -41,7 +41,7 @@ class Chat::ChatNotifier
:send_message_notifications,
chat_message_id: chat_message.id,
timestamp: timestamp.iso8601(6),
- reason: :edit,
+ reason: "edit",
)
end
@@ -50,7 +50,7 @@ class Chat::ChatNotifier
:send_message_notifications,
chat_message_id: chat_message.id,
timestamp: timestamp.iso8601(6),
- reason: :new,
+ reason: "new",
)
end
end