diff --git a/src/controllers/FriendsController.ts b/src/controllers/FriendsController.ts index f679145..5392fb8 100644 --- a/src/controllers/FriendsController.ts +++ b/src/controllers/FriendsController.ts @@ -169,7 +169,9 @@ export class FriendsController { await FriendsHelper.RemoveFriendship(h.getUserId(), friendID); - // TODO : delete any related notification + // Delete any related notification + await NotificationsUtils.DeleteNotificationsFrienshipRequest( + h.getUserId(), friendID); h.success("The friend was removed from the list!"); }