Merge pull request #5794 from annando/ap1

ActivityPub support
This commit is contained in:
Hypolite Petovan
2018-10-02 11:24:04 -04:00
committed by GitHub
54 changed files with 4014 additions and 1065 deletions

View File

@@ -4612,7 +4612,7 @@ function post_photo_item($hash, $allow_cid, $deny_cid, $allow_gid, $deny_gid, $f
$owner_record = DBA::selectFirst('contact', [], ['uid' => api_user(), 'self' => true]);
$arr = [];
$arr['guid'] = System::createGUID(32);
$arr['guid'] = System::createUUID();
$arr['uid'] = intval(api_user());
$arr['uri'] = $uri;
$arr['parent-uri'] = $uri;