Skip to content

Commit 4b67ed6

Browse files
committed
fix cross instance invite banner bug
1 parent 5a5ba5f commit 4b67ed6

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/webpage/embed.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -268,12 +268,7 @@ class Embed {
268268
if (json.guild.banner) {
269269
const banner = document.createElement("img");
270270
banner.src =
271-
this.localuser.info.cdn +
272-
"/icons/" +
273-
json.guild.id +
274-
"/" +
275-
json.guild.banner +
276-
".png?size=256";
271+
info.cdn + "/icons/" + json.guild.id + "/" + json.guild.banner + ".png?size=256";
277272
banner.classList.add("banner");
278273
div.append(banner);
279274
}

0 commit comments

Comments
 (0)