1
0
Fork 0

Use $url resolver in channelToKState

This commit is contained in:
Cadence Ember 2024-09-25 01:08:29 +12:00
parent 8915e8d96c
commit 3af31385f0

View file

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