Compare commits

..

2 commits

Author SHA1 Message Date
f3b0d01400 Fix fish reaction 2025-01-12 13:51:57 +13:00
de57bdaf3c Await syncRoom after linking 2025-01-12 13:32:39 +13:00
2 changed files with 2 additions and 1 deletions

View file

@ -42,6 +42,7 @@ function encodeEmoji(input, shortcode) {
"%E2%9D%93", // ❓ "%E2%9D%93", // ❓
"%F0%9F%8F%86", // 🏆️ "%F0%9F%8F%86", // 🏆️
"%F0%9F%93%9A", // 📚️ "%F0%9F%93%9A", // 📚️
"%F0%9F%90%9F", // 🐟️
] ]
discordPreferredEncoding = discordPreferredEncoding =

View file

@ -57,7 +57,7 @@ as.router.post("/api/link", defineEventHandler(async event => {
db.prepare("INSERT INTO channel_room (channel_id, room_id, name, guild_id) VALUES (?, ?, ?, ?)").run(parsedBody.discord, parsedBody.matrix, channel.name, guildID) db.prepare("INSERT INTO channel_room (channel_id, room_id, name, guild_id) VALUES (?, ?, ?, ?)").run(parsedBody.discord, parsedBody.matrix, channel.name, guildID)
// Sync room data and space child // Sync room data and space child
createRoom.syncRoom(parsedBody.discord) await createRoom.syncRoom(parsedBody.discord)
return null // 204 return null // 204
})) }))