mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-22 13:29:22 +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);
|
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("");
|
h.success("");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user