mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-12-26 13:38:52 +00:00
Remove a TODO
This commit is contained in:
parent
ec323cf360
commit
a089e2b8e0
@ -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("");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user