mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
fbpost: Only mirror posts from pages when they are from the page id
privacy_image_cache: Save pictures with extensions
This commit is contained in:
parent
6b124bf016
commit
d34c78296e
2 changed files with 26 additions and 8 deletions
|
@ -1042,6 +1042,9 @@ function fbpost_fetchwall($a, $uid) {
|
|||
if(isset($item->privacy) && ($item->privacy->value !== 'EVERYONE') && ($item->privacy->value !== ''))
|
||||
continue;
|
||||
|
||||
if (($post_to_page != $item->from->id) AND ((int)$post_to_page != 0))
|
||||
continue;
|
||||
|
||||
$_SESSION["authenticated"] = true;
|
||||
$_SESSION["uid"] = $uid;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue