Finish room diffing and syncing. All tests pass

This commit is contained in:
Cadence Ember 2023-05-06 01:25:15 +12:00
commit 3fbe7eed6e
13 changed files with 658 additions and 529 deletions

View file

@ -37,7 +37,7 @@ function createSpace(guild) {
}
}
]
}).then(/** @param {import("../../types").R_RoomCreated} root */ root => {
}).then(/** @param {import("../../types").R.RoomCreated} root */ root => {
db.prepare("INSERT INTO guild_space (guild_id, space_id) VALUES (?, ?)").run(guild.id, root.room_id)
return root
})