From c416ec3e946dbe6252e6235b1e263f6c88f7f623 Mon Sep 17 00:00:00 2001 From: Felicio Mununga Date: Thu, 9 Jun 2022 18:28:52 +0200 Subject: [PATCH] fix observing of new channels --- packages/status-js/src/client/community/community.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/status-js/src/client/community/community.ts b/packages/status-js/src/client/community/community.ts index 949d9713..d4b95fdb 100644 --- a/packages/status-js/src/client/community/community.ts +++ b/packages/status-js/src/client/community/community.ts @@ -193,7 +193,7 @@ export class Community { ) const addedChats = difference( Object.keys(communityMetadata.chats), - Object.keys(communityMetadata.chats) + Object.keys(this.communityMetadata.chats) ) if (removedChats.length) {