diff --git a/src/controllers/FriendsController.ts b/src/controllers/FriendsController.ts index 1042ad7..0a15390 100644 --- a/src/controllers/FriendsController.ts +++ b/src/controllers/FriendsController.ts @@ -132,7 +132,8 @@ export class FriendsController { await FriendsHelper.RemoveRequest(h.getUserId(), friendID); - // TODO : delete any related notification + // Delete any related notification + await NotificationsUtils.DeleteNotificationsFrienshipRequest(h.getUserId(), friendID); h.success("Friendship request removed!"); }