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

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
}