aboutsummaryrefslogtreecommitdiffstats
path: root/0001-Remove-donator-badges.patch
diff options
context:
space:
mode:
author1024x22024-04-24 23:33:04 +0100
committer1024x22024-04-24 23:33:04 +0100
commitf812b79a288ea9b08b60f430c6cfd36900abfe98 (patch)
tree59110a04c9f273f5c62705d5e6bd84235453e61a /0001-Remove-donator-badges.patch
parent3d200bc607e4ece68467a7fe4e1251cd21a2ebaa (diff)
Update patches
Diffstat (limited to '0001-Remove-donator-badges.patch')
-rw-r--r--0001-Remove-donator-badges.patch13
1 files changed, 6 insertions, 7 deletions
diff --git a/0001-Remove-donator-badges.patch b/0001-Remove-donator-badges.patch
index b216176..c2c84d3 100644
--- a/0001-Remove-donator-badges.patch
+++ b/0001-Remove-donator-badges.patch
@@ -1,6 +1,6 @@
-From f96190afa8668485eae2c22c931927481a74c7ae Mon Sep 17 00:00:00 2001
+From e25f5674bfbfe3d6a28f8536b857c0d1b9db6a9d Mon Sep 17 00:00:00 2001
From: 1024x2 <2pow11@gmail.com>
-Date: Mon, 9 Oct 2023 17:46:41 +0100
+Date: Wed, 24 Apr 2024 23:30:05 +0100
Subject: [PATCH 1/6] Remove donator badges
It makes a request to an API hosted by the Vencord developer, without
@@ -8,8 +8,8 @@ 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 | 97 +------------------------------------
- 2 files changed, 2 insertions(+), 98 deletions(-)
+ src/plugins/_api/badges.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
@@ -26,7 +26,7 @@ index b50016c..3529693 100644
return badges;
}
diff --git a/src/plugins/_api/badges.tsx b/src/plugins/_api/badges.tsx
-index 16b244a..4328925 100644
+index 6b1a79c..27da6fa 100644
--- a/src/plugins/_api/badges.tsx
+++ b/src/plugins/_api/badges.tsx
@@ -44,19 +44,6 @@ const ContributorBadge: ProfileBadge = {
@@ -72,7 +72,7 @@ index 16b244a..4328925 100644
renderBadgeComponent: ErrorBoundary.wrap((badge: ProfileBadge & BadgeUserArgs) => {
const Component = badge.component!;
return <Component {...badge} />;
-- }, { noop: true }),
+ }, { noop: true }),
-
-
- getDonorBadges(userId: string) {
@@ -143,7 +143,6 @@ index 16b244a..4328925 100644
- },
- }));
- }
-+ }, { noop: true })
});
--
2.44.0