From 2752b2acf84dcd4a867b71c6e9048474ef5c2a59 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 28 Mar 2020 15:02:33 +0100 Subject: [PATCH] Remove a TODO --- src/controllers/GroupsController.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controllers/GroupsController.ts b/src/controllers/GroupsController.ts index 64a7e81..2393a49 100644 --- a/src/controllers/GroupsController.ts +++ b/src/controllers/GroupsController.ts @@ -527,7 +527,8 @@ export class GroupsController { // Cancel group invitation await GroupsHelper.DeleteMember(groupID, userID); - // TODO : delete related notifications + // Delete related notifications + await NotificationsHelper.DeleteNotificationsGroupsMembership(userID, groupID); h.success("Membership invitation has been cancelled!"); }