From 2db0e71e5bdc10f0654f3a4874d7f65717a92e71 Mon Sep 17 00:00:00 2001 From: dolfies Date: Fri, 7 Jul 2023 20:37:32 -0400 Subject: fix(RelationshipNotifier): Ignore user-actioned friend requests (#1390) --- src/plugins/relationshipNotifier/functions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/relationshipNotifier/functions.ts') 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.`, -- cgit