From 2d729a9b4e81ed0bfba09d717fb586c690d14906 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) {