friendship ended with social-app. php is my new best friend

add some stuff back

Changed files
+3 -3
lib
+3 -3
lib/bskyToucher.php
···
preg_match('/at:\/\/(did:plc:[a-z0-9]+)\/app.bsky.feed.post\/([a-z0-9]+)/', $feed->post, $uriComponents);
$did = $uriComponents[1];
$rkey = $uriComponents[2];
-
return $this->getPost($did, $rkey, true);
+
return async(fn() => $this->getPost($did, $rkey, true));
}, $body->feed)));
return $res;
···
$uriComponents = $this->splitAtUri($p->uri);
$cache = \requestPostCache($uriComponents->rkey);
if ($cache) return $this->sanitizeCachedPost($cache);
-
$post = $this->getPost($uriComponents->did, $uriComponents->rkey, true);
-
return $post;
+
return async(fn() => $this->getPost($uriComponents->did, $uriComponents->rkey, true));
}, $postData->records)));
return $postData;
}
···
$rkey = $uriComponents[2];
$authorInfo = $this->getUserInfo($did, 'did');
$facets = property_exists($post->value, 'facets') ? $this->sanitizeFacets($post->value->facets) : [];
+
$ret = (object) [
'author' => (object) [
'displayName' => $authorInfo->displayName,