1
0
Fork 0

Fix uk.half-shot.bridge test data

This commit is contained in:
Cadence Ember 2023-09-24 00:13:38 +12:00
parent f39e61489b
commit 2b537f42f0
2 changed files with 19 additions and 2 deletions

View file

@ -122,7 +122,7 @@ async function channelToKState(channel, guild) {
network: {
id: guild.id,
displayname: guild.name,
avatar_url: file.DISCORD_IMAGES_BASE + file.guildIcon(guild)
avatar_url: await file.uploadDiscordFileToMxc(file.guildIcon(guild))
},
channel: {
id: channel.id,

View file

@ -46,7 +46,24 @@ module.exports = {
"m.room.avatar": 0
}
},
"chat.schildi.hide_ui/read_receipts": {hidden: true}
"chat.schildi.hide_ui/read_receipts": {hidden: true},
"uk.half-shot.bridge/moe.cadence.ooye://discord/112760669178241024/112760669178241024": {
bridgebot: "@_ooye_bot:cadence.moe",
protocol: {
id: "discord",
displayname: "Discord"
},
network: {
id: "112760669178241024",
displayname: "Psychonauts 3",
avatar_url: "mxc://cadence.moe/zKXGZhmImMHuGQZWJEFKJbsF"
},
channel: {
id: "112760669178241024",
displayname: "collective-unconscious",
external_url: "https://discord.com/channels/112760669178241024/112760669178241024"
}
}
}
},
guild: {