mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-21 21:09:22 +00:00
Improve comments
This commit is contained in:
parent
c3e749361a
commit
d424480e7e
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user