Merge pull request #476 from monich/forward-fix
Fix forwarding to channels with creator/admin access
This commit is contained in:
commit
dfb3c58153
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