aboutsummaryrefslogtreecommitdiffstats
path: root/0001-Remove-donator-badges.patch
diff options
context:
space:
mode:
author1024x22024-05-07 18:16:56 +0100
committer1024x22024-05-07 18:16:56 +0100
commite055069be2259a3116023d9333cc74cf9e3c50ca (patch)
treea1c8db554b2017d497ced19c3dba0ef3486f0db3 /0001-Remove-donator-badges.patch
parent9eee99e24470b812ee6c96cc812710c822b64724 (diff)
Remove last patch (fixed by upstream)
Diffstat (limited to '0001-Remove-donator-badges.patch')
-rw-r--r--0001-Remove-donator-badges.patch26
1 files changed, 13 insertions, 13 deletions
diff --git a/0001-Remove-donator-badges.patch b/0001-Remove-donator-badges.patch
index e77716c..cea6464 100644
--- a/0001-Remove-donator-badges.patch
+++ b/0001-Remove-donator-badges.patch
@@ -1,18 +1,18 @@
-From e25f5674bfbfe3d6a28f8536b857c0d1b9db6a9d Mon Sep 17 00:00:00 2001
+From 6f4d3bbe8c52828bdabd4e780b111b99fcba8959 Mon Sep 17 00:00:00 2001
From: 1024x2 <2pow11@gmail.com>
Date: Wed, 24 Apr 2024 23:30:05 +0100
-Subject: [PATCH 1/7] Remove donator badges
+Subject: [PATCH 1/6] Remove donator badges
It makes a request to an API hosted by the Vencord developer, without
any option to turn it off. This raises privacy concerns.
It's easiest to just get rid of the feature entirely.
---
- src/api/Badges.ts | 3 +-
- src/plugins/_api/badges.tsx | 95 -------------------------------------
+ src/api/Badges.ts | 3 +-
+ src/plugins/_api/badges/index.tsx | 95 -------------------------------
2 files changed, 1 insertion(+), 97 deletions(-)
diff --git a/src/api/Badges.ts b/src/api/Badges.ts
-index b50016c..3529693 100644
+index 061bdeb..bc9e887 100644
--- a/src/api/Badges.ts
+++ b/src/api/Badges.ts
@@ -79,8 +79,7 @@ export function _getBadges(args: BadgeUserArgs) {
@@ -25,12 +25,12 @@ index b50016c..3529693 100644
return badges;
}
-diff --git a/src/plugins/_api/badges.tsx b/src/plugins/_api/badges.tsx
-index 6b1a79c..27da6fa 100644
---- a/src/plugins/_api/badges.tsx
-+++ b/src/plugins/_api/badges.tsx
-@@ -44,19 +44,6 @@ const ContributorBadge: ProfileBadge = {
- link: "https://github.com/Vendicated/Vencord"
+diff --git a/src/plugins/_api/badges/index.tsx b/src/plugins/_api/badges/index.tsx
+index bbccf0a..7bbe430 100644
+--- a/src/plugins/_api/badges/index.tsx
++++ b/src/plugins/_api/badges/index.tsx
+@@ -41,19 +41,6 @@ const ContributorBadge: ProfileBadge = {
+ onClick: (_, { user }) => openContributorModal(user)
};
-let DonorBadges = {} as Record<string, Array<Record<"tooltip" | "badge", string>>>;
@@ -49,7 +49,7 @@ index 6b1a79c..27da6fa 100644
export default definePlugin({
name: "BadgeAPI",
description: "API to add badges to users.",
-@@ -91,94 +78,12 @@ export default definePlugin({
+@@ -88,94 +75,12 @@ export default definePlugin({
}
],
@@ -145,5 +145,5 @@ index 6b1a79c..27da6fa 100644
- }
});
--
-2.44.0
+2.45.0