Skip to content

Commit

Permalink
[E] Check if profile and cover posted on newsfeed as public #1991
Browse files Browse the repository at this point in the history
  • Loading branch information
lianglee committed Sep 6, 2021
1 parent ede7e93 commit f72395a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/OssnProfile/classes/OssnProfile.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ public function addPhotoWallPost($ownerguid, $itemguid, $type = 'profile:photo')
$this->wall->poster_guid = $ownerguid;
$this->wall->item_guid = $itemguid;

if($this->wall->Post('null:data')){
//[E] Check if profile and cover posted on newsfeed as public #1991
if($this->wall->Post('null:data', '', '', OSSN_FRIENDS)){
return true;
}
}
Expand Down

0 comments on commit f72395a

Please sign in to comment.