Stop this from causing an error I guess?

This commit is contained in:
Cadence Ember 2023-09-17 20:15:20 +12:00
parent 671f1300ba
commit 0ed74feb66
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ async function ensureSimJoined(user, roomID) {
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
}