fix(RelationshipNotifier): Ignore user-actioned friend requests (#1390)

This commit is contained in:
dolfies 2023-07-07 20:37:32 -04:00 committed by GitHub
parent cde8074f44
commit 2db0e71e5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 4 deletions

View file

@ -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.`,