From 82c5c2845a641fc4098be33cd64804137d36ecdd Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 28 Mar 2020 13:53:20 +0100 Subject: [PATCH] Remove a TODO --- src/controllers/FriendsController.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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!"); }