painor 3 лет назад
Родитель
Сommit
edcb100278
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      gramjs/tl/custom/dialog.ts

+ 1 - 1
gramjs/tl/custom/dialog.ts

@@ -60,7 +60,7 @@ export class Dialog {
 
         this.isUser = this.entity instanceof Api.User;
         this.isGroup = !!(
-            (this.entity instanceof Api.Chat &&
+            (this.entity instanceof Api.Chat ||
                 this.entity instanceof Api.ChatForbidden) ||
             (this.entity instanceof Api.Channel && this.entity.megagroup)
         );