FIX: typo in property name (#22489)

Sadly this function is one of the very hard to test codepaths of the app. We could in the future attempt to extract the content of the function to unit-test it.
This commit is contained in:
Joffrey JAFFEUX 2023-07-07 12:48:21 +02:00 committed by GitHub
parent bd9c919e06
commit 2dfeb5f0c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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);
});