From f812b79a288ea9b08b60f430c6cfd36900abfe98 Mon Sep 17 00:00:00 2001 From: 1024x2 Date: Wed, 24 Apr 2024 23:33:04 +0100 Subject: Update patches --- 0001-Remove-donator-badges.patch | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to '0001-Remove-donator-badges.patch') 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 ; -- }, { noop: true }), + }, { noop: true }), - - - getDonorBadges(userId: string) { @@ -143,7 +143,6 @@ index 16b244a..4328925 100644 - }, - })); - } -+ }, { noop: true }) }); -- 2.44.0 -- cgit v1.2.3