A platform for community discussion. Free, open, simple.
FIX: error when quoting message into topic (#21114)
Joffrey JAFFEUX5b187ad25e8f
diff --git a/plugins/chat/assets/javascripts/discourse/services/chat-channel-pane.js b/plugins/chat/assets/javascripts/discourse/services/chat-channel-pane.jsindex 9e5e9461d86..91b118dbcff 100644--- a/plugins/chat/assets/javascripts/discourse/services/chat-channel-pane.js+++ b/plugins/chat/assets/javascripts/discourse/services/chat-channel-pane.js@@ -16,7 +16,7 @@ export default class ChatChannelPane extends Service {@tracked sendingLoading = false;get selectedMessageIds() {- return this.chat.activeChannel.selectedMessages.mapBy("id");+ return this.chat.activeChannel?.selectedMessages?.mapBy("id") || [];}get composerService() {