mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-06-19 08:35:18 +00:00
Fix issue : friends posts appeared in latest posts even if friendship was not accepted.
This commit is contained in:
@ -177,7 +177,7 @@ class Posts {
|
||||
$visibilityLevel = self::VISIBILITY_FRIENDS;
|
||||
|
||||
//Get the list of friends of the user
|
||||
$friendsList = components()->friends->getList($userID);
|
||||
$friendsList = components()->friends->getList($userID, -1, TRUE);
|
||||
|
||||
|
||||
//Prepare the request on the database
|
||||
|
Reference in New Issue
Block a user