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!"); }