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

fix the batch call again.

Changed files
+3 -3
lib
+3 -3
lib/bskyToucher.php
···
$ret = await(batch(
$body->feed,
function ($batch) {
-
return async(function () use ($batch, $feed) {
-
return array_map(function($rec) use ($feed) {
-
preg_match('/at:\/\/(did:plc:[a-z0-9]+)\/app.bsky.feed.post\/([a-z0-9]+)/', $feed->post, $uriComponents);
+
return async(function () use ($batch) {
+
return array_map(function($rec) {
+
preg_match('/at:\/\/(did:plc:[a-z0-9]+)\/app.bsky.feed.post\/([a-z0-9]+)/', $rec->post, $uriComponents);
$did = $uriComponents[1];
$rkey = $uriComponents[2];
return $this->getPost($did, $rkey, true);