completed user syncing. it occurs on message send

This commit is contained in:
Cadence Ember 2023-05-10 22:15:20 +12:00
parent f418d51e55
commit 22dde9faf7
4 changed files with 90 additions and 4 deletions

View file

@ -144,6 +144,8 @@ async function _syncRoom(channelID, shouldActuallySync) {
return existing // only need to ensure room exists, and it does. return the room ID
}
console.log(`[room sync] to matrix: ${channel.name}`)
const {spaceID, channelKState} = await channelToKState(channel, guild)
// sync channel state to room