Fix forwarding to channels with creator/admin access
This commit is contained in:
parent
985e7341dc
commit
326a789b01
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue