mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2025-06-19 08:05:16 +00:00
Improve comments
This commit is contained in:
@ -127,11 +127,11 @@ export class NotificationsHelper {
|
||||
// Private post (on user pages)
|
||||
if(post.visibilityLevel == PostVisibilityLevel.VISIBILITY_USER) {
|
||||
|
||||
// Check if the user does not own the post
|
||||
// Check if the post belongs to current user => no notification needed
|
||||
if(post.userID == post.userPageID)
|
||||
return;
|
||||
|
||||
// If the personn who posted that is not the owner of the page
|
||||
// If the person who posted that is not the owner of the page
|
||||
else if(post.userPageID != n.fromUserID)
|
||||
n.destUserID = post.userPageID
|
||||
|
||||
|
Reference in New Issue
Block a user