mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 14:53:50 +02:00
Fix creating group role only instances
This commit is contained in:
@@ -20717,8 +20717,11 @@ speechSynthesis.getVoices();
|
|||||||
params.groupAccessType = D.groupAccessType;
|
params.groupAccessType = D.groupAccessType;
|
||||||
params.ownerId = D.groupId;
|
params.ownerId = D.groupId;
|
||||||
params.queueEnabled = D.queueEnabled;
|
params.queueEnabled = D.queueEnabled;
|
||||||
if (D.groupAccessType === 'member') {
|
if (D.groupAccessType === 'members') {
|
||||||
params.roleIds = D.roleIds;
|
params.roleIds = D.roleIds;
|
||||||
|
params.canRequestInvite = true;
|
||||||
|
} else if (D.groupAccessType === 'plus') {
|
||||||
|
params.canRequestInvite = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
API.createInstance(params)
|
API.createInstance(params)
|
||||||
|
|||||||
Reference in New Issue
Block a user