Don't try to join old channels
This commit is contained in:
+1
-1
@@ -208,7 +208,7 @@ class MatrixUser {
|
|||||||
|
|
||||||
this.chats = []
|
this.chats = []
|
||||||
for (const dialog of dialogs.chats) {
|
for (const dialog of dialogs.chats) {
|
||||||
if (dialog._ === "chatForbidden" || dialog.deactivated) {
|
if (dialog._ === "chatForbidden" || dialog._ === "channelForbidden" || dialog.deactivated) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
const peer = new TelegramPeer(dialog._, dialog.id)
|
const peer = new TelegramPeer(dialog._, dialog.id)
|
||||||
|
|||||||
Reference in New Issue
Block a user