Stop this from causing an error I guess?
This commit is contained in:
parent
671f1300ba
commit
0ed74feb66
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ async function ensureSimJoined(user, roomID) {
|
||||||
throw e
|
throw e
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
db.prepare("INSERT INTO sim_member (room_id, mxid) VALUES (?, ?)").run(roomID, mxid)
|
db.prepare("INSERT OR IGNORE INTO sim_member (room_id, mxid) VALUES (?, ?)").run(roomID, mxid)
|
||||||
}
|
}
|
||||||
return mxid
|
return mxid
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue