mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2025-06-19 08:05:16 +00:00
Remove a TODO
This commit is contained in:
@ -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("");
|
||||
}
|
||||
|
Reference in New Issue
Block a user