Compare commits
1 commit
28c073b70c
...
44549d4781
Author | SHA1 | Date | |
---|---|---|---|
Michael | 44549d4781 |
|
@ -1185,15 +1185,7 @@ function bluesky_process_post(stdClass $post, int $uid, int $fetch_uid, int $pos
|
|||
if ($causer != 0) {
|
||||
$item['causer-id'] = $causer;
|
||||
}
|
||||
/*
|
||||
if (($item['uid'] != 0) && !Post::exists(['uid' => 0, 'uri-id' => $item['uri-id']])) {
|
||||
$shadow = $item;
|
||||
$shadow['uid'] = 0;
|
||||
$shadow['restrictions'] = bluesky_get_restrictions_for_user($post, 0);
|
||||
unset($shadow['post-reason']);
|
||||
$shadow['contact-id'] = Contact::getIdForURL($item['author-link']);
|
||||
}
|
||||
*/
|
||||
|
||||
Item::insert($item);
|
||||
return bluesky_fetch_uri_id($uri, $uid);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue