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: {
id: guild.id,
displayname: guild.name,
avatar_url: await file.uploadDiscordFileToMxc(file.guildIcon(guild))
avatar_url: {$url: file.guildIcon(guild)}
},
channel: {
id: channel.id,