forked from cadence/out-of-your-element
move namespace_prefix into a sub-object
This commit is contained in:
parent
f4bfe54850
commit
3a59d66626
3 changed files with 5 additions and 3 deletions
|
@ -20,7 +20,7 @@ const userToMxid = sync.require("../converters/user-to-mxid")
|
|||
async function createSim(user) {
|
||||
// Choose sim name
|
||||
const simName = userToMxid.userToSimName(user)
|
||||
const localpart = reg.namespace_prefix + simName
|
||||
const localpart = reg.ooye.namespace_prefix + simName
|
||||
const mxid = "@" + localpart + ":cadence.moe"
|
||||
|
||||
// Save chosen name in the database forever
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue