1
0
Fork 0

Handling of unlisted posts, better uid detection

This commit is contained in:
Michael 2018-09-16 09:06:09 +00:00
commit 6f3b2b6586
4 changed files with 73 additions and 76 deletions

View file

@ -31,8 +31,8 @@ function follow_post(App $a)
// This is just a precaution if maybe this page is called somewhere directly via POST
$_SESSION['fastlane'] = $url;
$result = Contact::createFromProbe($uid, $url, true, Protocol::ACTIVITYPUB);
// $result = Contact::createFromProbe($uid, $url, true);
// $result = Contact::createFromProbe($uid, $url, true, Protocol::ACTIVITYPUB);
$result = Contact::createFromProbe($uid, $url, true);
if ($result['success'] == false) {
if ($result['message']) {