Fixing the way rights are sent to the admin (now sending organization/world/room)
This commit is contained in:
parent
9113ef4ff6
commit
ce93e5bbaa
3 changed files with 17 additions and 7 deletions
|
@ -66,7 +66,7 @@ export class Room {
|
|||
this.instance = match[1];
|
||||
return this.instance;
|
||||
} else {
|
||||
const match = /_\/([^/]+)\/([^/]+)\/.+/.exec(this.id);
|
||||
const match = /@\/([^/]+)\/([^/]+)\/.+/.exec(this.id);
|
||||
if (!match) throw new Error('Could not extract instance from "'+this.id+'"');
|
||||
this.instance = match[1]+'/'+match[2];
|
||||
return this.instance;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue