From 326a789b01a9c7dce33fb78f135dbf9bcf50c6e5 Mon Sep 17 00:00:00 2001 From: Slava Monich Date: Sat, 25 Dec 2021 19:27:09 +0200 Subject: [PATCH] Fix forwarding to channels with creator/admin access --- src/chatpermissionfiltermodel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/chatpermissionfiltermodel.cpp b/src/chatpermissionfiltermodel.cpp index 11e3073..cd99678 100644 --- a/src/chatpermissionfiltermodel.cpp +++ b/src/chatpermissionfiltermodel.cpp @@ -105,6 +105,7 @@ bool ChatPermissionFilterModel::filterAcceptsRow(int sourceRow, const QModelInde switch (memberStatus) { case TDLibWrapper::ChatMemberStatusCreator: case TDLibWrapper::ChatMemberStatusAdministrator: + return true; case TDLibWrapper::ChatMemberStatusMember: permissions = model->data(index, ChatListModel::RoleDisplay).toMap().value(PERMISSIONS).toMap(); break;