Skip to content

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

FIX: typo in property name (#22489)

Joffrey JAFFEUX2dfeb5f0c294
diff --git a/plugins/chat/assets/javascripts/discourse/services/chat.js b/plugins/chat/assets/javascripts/discourse/services/chat.js
index decadb20f61..cb79d938597 100644
--- a/plugins/chat/assets/javascripts/discourse/services/chat.js
+++ b/plugins/chat/assets/javascripts/discourse/services/chat.js
@@ -143,7 +143,8 @@ export default class Chat extends Service {
channel.tracking.unreadCount = state.unread_count;
channel.tracking.mentionCount = state.mention_count;
- channel.updateMembership = channelObject.current_user_membership;
+ channel.currentUserMembership =
+ channelObject.current_user_membership;
this.chatSubscriptionsManager.startChannelSubscription(channel);
});