diff --git a/plugins/chat/assets/javascripts/discourse/lib/chat-channel-subscription-manager.js b/plugins/chat/assets/javascripts/discourse/lib/chat-channel-subscription-manager.js index 985fc40676f..ac4c9d38e78 100644 --- a/plugins/chat/assets/javascripts/discourse/lib/chat-channel-subscription-manager.js +++ b/plugins/chat/assets/javascripts/discourse/lib/chat-channel-subscription-manager.js @@ -127,6 +127,7 @@ export default class ChatChannelSubscriptionManager { if (message) { message.cooked = data.chat_message.cooked; message.processed = true; + message.incrementVersion(); } } @@ -234,7 +235,5 @@ export default class ChatChannelSubscriptionManager { if (message?.thread) { message.thread.preview = ChatThreadPreview.create(data.preview); } - - message.thread.preview.yolo = 1; } } diff --git a/plugins/chat/assets/javascripts/discourse/lib/chat-channel-thread-subscription-manager.js b/plugins/chat/assets/javascripts/discourse/lib/chat-channel-thread-subscription-manager.js index 4a329c88bba..a774dc52b3a 100644 --- a/plugins/chat/assets/javascripts/discourse/lib/chat-channel-thread-subscription-manager.js +++ b/plugins/chat/assets/javascripts/discourse/lib/chat-channel-thread-subscription-manager.js @@ -117,6 +117,7 @@ export default class ChatChannelThreadSubscriptionManager { if (message) { message.cooked = data.chat_message.cooked; message.processed = true; + message.incrementVersion(); } }