Skip to content

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

FIX: Wrong interpolation key (#20374)

Gerhard Schlager3d7aec36b5dd
diff --git a/plugins/chat/assets/javascripts/discourse/components/chat-composer.js b/plugins/chat/assets/javascripts/discourse/components/chat-composer.js
index 315083f6fe2..29b0eed2f0a 100644
--- a/plugins/chat/assets/javascripts/discourse/components/chat-composer.js
+++ b/plugins/chat/assets/javascripts/discourse/components/chat-composer.js
@@ -573,7 +573,7 @@ export default Component.extend(TextareaTextManipulation, {
if (chatChannel.isDraft) {
if (chatChannel?.chatable?.users?.length) {
return I18n.t("chat.placeholder_start_conversation_users", {
- usernames: chatChannel.chatable.users
+ commaSeparatedUsernames: chatChannel.chatable.users
.mapBy("username")
.join(I18n.t("word_connector.comma")),
});