aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/relationshipNotifier/functions.ts
diff options
context:
space:
mode:
authordolfies <jeyalfie47@gmail.com>2023-07-07 20:37:32 -0400
committerGitHub <noreply@github.com>2023-07-08 02:37:32 +0200
commit2db0e71e5bdc10f0654f3a4874d7f65717a92e71 (patch)
tree023b2d0c961c40ba1ae4cc677adc28cc9e915e49 /src/plugins/relationshipNotifier/functions.ts
parentcde8074f4417de18979dd8ba793214b5b6ada715 (diff)
downloadVencord-2db0e71e5bdc10f0654f3a4874d7f65717a92e71.tar.gz
Vencord-2db0e71e5bdc10f0654f3a4874d7f65717a92e71.tar.bz2
Vencord-2db0e71e5bdc10f0654f3a4874d7f65717a92e71.zip
fix(RelationshipNotifier): Ignore user-actioned friend requests (#1390)
Diffstat (limited to 'src/plugins/relationshipNotifier/functions.ts')
-rw-r--r--src/plugins/relationshipNotifier/functions.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/relationshipNotifier/functions.ts b/src/plugins/relationshipNotifier/functions.ts
index 104436a..e712382 100644
--- a/src/plugins/relationshipNotifier/functions.ts
+++ b/src/plugins/relationshipNotifier/functions.ts
@@ -50,7 +50,7 @@ export async function onRelationshipRemove({ relationship: { type, id } }: Relat
() => openUserProfile(user.id)
);
break;
- case RelationshipType.FRIEND_REQUEST:
+ case RelationshipType.INCOMING_REQUEST:
if (settings.store.friendRequestCancels)
notify(
`A friend request from ${getUniqueUsername(user)} has been removed.`,