AP: Automatically send follow requests for reshared items

This commit is contained in:
Michael 2019-01-30 21:33:23 +00:00
parent fc0acd7b1f
commit a7963fe18a
3 changed files with 25 additions and 1 deletions

View file

@ -775,6 +775,10 @@ class Post extends BaseObject
*/
private function getDefaultText()
{
if (!local_user()) {
return;
}
$a = self::getApp();
$item = Item::selectFirst(['author-addr'], ['id' => $this->getId()]);