aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/viewIcons.tsx
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-11-11 18:49:47 +0100
committerVendicated <vendicated@riseup.net>2022-11-11 18:49:47 +0100
commitdddb28192c0c6ed39a7726a5a37a9ef3c817023c (patch)
tree12bd6d025f28be76f0ab710a2564c83a0cb1e99b /src/plugins/viewIcons.tsx
parent2133823bd369efa145474f6e558a82a960d48d52 (diff)
downloadVencord-dddb28192c0c6ed39a7726a5a37a9ef3c817023c.tar.gz
Vencord-dddb28192c0c6ed39a7726a5a37a9ef3c817023c.tar.bz2
Vencord-dddb28192c0c6ed39a7726a5a37a9ef3c817023c.zip
even more plugin fixes
Diffstat (limited to 'src/plugins/viewIcons.tsx')
-rw-r--r--src/plugins/viewIcons.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/viewIcons.tsx b/src/plugins/viewIcons.tsx
index 399bf72..afffdff 100644
--- a/src/plugins/viewIcons.tsx
+++ b/src/plugins/viewIcons.tsx
@@ -36,6 +36,8 @@ export default definePlugin({
authors: [Devs.Ven],
description: "Makes Avatars/Banners in user profiles clickable, and adds Guild Context Menu Entries to View Banner/Icon.",
+ dependencies: ["MenuItemDeobfuscatorApi"],
+
openImage(url: string) {
const u = new URL(url);
u.searchParams.set("size", "512");