Pre-upload icons before diffing

This commit is contained in:
Cadence Ember
2025-12-16 12:37:43 +13:00
parent 231b26113e
commit 04d26026f5
2 changed files with 5 additions and 0 deletions
+1
View File
@@ -401,6 +401,7 @@ async function _syncRoom(channelID, shouldActuallySync) {
console.log(`[room sync] to matrix: ${channel.name}`)
const {spaceID, channelKState} = await channelToKState(channel, guild, {api}) // calling this in both branches because we don't want to calculate this if not syncing
await ks.kstateUploadMxc(channelKState) // pre-upload icons before diffing
// sync channel state to room
const roomKState = await ks.roomToKState(roomID)