Don't try to join old channels

This commit is contained in:
Tulir Asokan
2017-12-03 11:27:34 +02:00
parent a02363638e
commit 70075352d2
+1 -1
View File
@@ -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)