From 70075352d25a7b8e98d5e69f5c7b0f9598e761b7 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Sun, 3 Dec 2017 11:27:34 +0200 Subject: [PATCH] Don't try to join old channels --- src/matrix-user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix-user.js b/src/matrix-user.js index 56e2d353..dac15ba5 100644 --- a/src/matrix-user.js +++ b/src/matrix-user.js @@ -208,7 +208,7 @@ class MatrixUser { this.chats = [] for (const dialog of dialogs.chats) { - if (dialog._ === "chatForbidden" || dialog.deactivated) { + if (dialog._ === "chatForbidden" || dialog._ === "channelForbidden" || dialog.deactivated) { continue } const peer = new TelegramPeer(dialog._, dialog.id)