mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-11 10:53:52 +02:00
Whoops null check
This commit is contained in:
@@ -1169,7 +1169,7 @@ speechSynthesis.getVoices();
|
||||
if (this.instance.ownerId === API.currentUser.id) {
|
||||
this.canCloseInstance = true;
|
||||
}
|
||||
if (this.instance.ownerId.startsWith('grp_')) {
|
||||
if (this.instance?.ownerId?.startsWith('grp_')) {
|
||||
// check group perms
|
||||
var groupId = this.instance.ownerId;
|
||||
var group = API.cachedGroups.get(groupId);
|
||||
|
||||
Reference in New Issue
Block a user