1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-12-26 13:38:52 +00:00

Remove a TODO

This commit is contained in:
Pierre HUBERT 2020-03-28 14:30:50 +01:00
parent ec323cf360
commit a089e2b8e0

View File

@ -315,7 +315,9 @@ export class PostsController {
await PostsHelper.SetLevel(postID, newVisibility);
// TODO : depending on new level, delete (or not) notifications about the post
// Depending on new level, delete (or not) notifications about the post
if(newVisibility == PostVisibilityLevel.VISIBILITY_USER)
await NotificationsHelper.DeleteAllRelatedWithPost(postID);
h.success("");
}