fix(section_model): fix missing role to update the access (request)

Fixes #11091
This commit is contained in:
Jonathan Rainville 2023-08-04 14:49:05 -04:00
parent d136d9bb67
commit ba89daa737
1 changed files with 2 additions and 2 deletions

View File

@ -5,8 +5,6 @@ import json
import section_item, member_model
import ../main/communities/tokens/models/token_item
import ../../../app_service/common/types
type
ModelRole {.pure.} = enum
Id = UserRole + 1
@ -292,6 +290,8 @@ QtObject:
ModelRole.CanJoin.int,
ModelRole.Joined.int,
ModelRole.Spectated.int,
ModelRole.Access.int,
ModelRole.EnsOnly.int,
ModelRole.Muted.int,
ModelRole.MembersModel.int,
ModelRole.PendingRequestsToJoinModel.int,