create syncSpaceFully

This commit is contained in:
Cadence Ember 2023-09-03 17:13:04 +12:00
parent aa263d3eb8
commit 5e6bb0cd2e
2 changed files with 43 additions and 5 deletions

View file

@ -82,7 +82,7 @@ async function channelToKState(channel, guild) {
avatarEventContent.url = await file.uploadDiscordFileToMxc(avatarEventContent.discord_path) // TODO: somehow represent future values in kstate (callbacks?), while still allowing for diffing, so test cases don't need to touch the media API
}
let history_visibility = "invited"
let history_visibility = "shared"
if (channel["thread_metadata"]) history_visibility = "world_readable"
const channelKState = {
@ -106,6 +106,9 @@ async function channelToKState(channel, guild) {
events: {
"m.room.avatar": 0
}
},
"chat.schildi.hide_ui/read_receipts": {
hidden: true
}
}