mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-23 15:01:27 +00:00
commit
f772925d70
7 changed files with 27 additions and 2 deletions
|
@ -2532,7 +2532,7 @@ class ApiV1Controller extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
$data = $ids->map(function($post) use($pid) {
|
$data = $ids->map(function($post) use($pid) {
|
||||||
$status = StatusService::getMastodon($post->id);
|
$status = StatusService::get($post->id);
|
||||||
|
|
||||||
if(!$status || !isset($status['id'])) {
|
if(!$status || !isset($status['id'])) {
|
||||||
return false;
|
return false;
|
||||||
|
@ -2542,7 +2542,7 @@ class ApiV1Controller extends Controller
|
||||||
return $status;
|
return $status;
|
||||||
})
|
})
|
||||||
->filter(function($post) {
|
->filter(function($post) {
|
||||||
return $post && isset($post['id']);
|
return $post && isset($post['id']) && isset($post['account']);
|
||||||
})
|
})
|
||||||
->values();
|
->values();
|
||||||
|
|
||||||
|
|
Binary file not shown.
BIN
public/js/app.js
vendored
BIN
public/js/app.js
vendored
Binary file not shown.
BIN
public/js/spa.js
vendored
BIN
public/js/spa.js
vendored
Binary file not shown.
Binary file not shown.
|
@ -19,6 +19,10 @@
|
||||||
"other": "Other",
|
"other": "Other",
|
||||||
"readMore": "Read more",
|
"readMore": "Read more",
|
||||||
"success": "Success",
|
"success": "Success",
|
||||||
|
"proceed": "Proceed",
|
||||||
|
"next": "Next",
|
||||||
|
"close": "Close",
|
||||||
|
"clickHere": "click here",
|
||||||
"sensitive": "Sensitive",
|
"sensitive": "Sensitive",
|
||||||
"sensitiveContent": "Sensitive Content",
|
"sensitiveContent": "Sensitive Content",
|
||||||
"sensitiveContentWarning": "This post may contain sensitive content"
|
"sensitiveContentWarning": "This post may contain sensitive content"
|
||||||
|
@ -146,5 +150,13 @@
|
||||||
},
|
},
|
||||||
"hashtags": {
|
"hashtags": {
|
||||||
"emptyFeed": "We can't seem to find any posts for this hashtag"
|
"emptyFeed": "We can't seem to find any posts for this hashtag"
|
||||||
|
},
|
||||||
|
"report": {
|
||||||
|
"report": "Report",
|
||||||
|
"selectReason": "Select a reason",
|
||||||
|
"reported": "Reported",
|
||||||
|
"sendingReport": "Sending report",
|
||||||
|
"thanksMsg": "Thanks for the report, people like you help keep our community safe!",
|
||||||
|
"contactAdminMsg": "If you'd like to contact an administrator about this post or report"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -23,6 +23,10 @@ return [
|
||||||
'other' => 'Other',
|
'other' => 'Other',
|
||||||
'readMore' => 'Read more',
|
'readMore' => 'Read more',
|
||||||
'success' => 'Success',
|
'success' => 'Success',
|
||||||
|
'proceed' => 'Proceed',
|
||||||
|
'next' => 'Next',
|
||||||
|
'close' => 'Close',
|
||||||
|
'clickHere' => 'click here',
|
||||||
|
|
||||||
'sensitive' => 'Sensitive',
|
'sensitive' => 'Sensitive',
|
||||||
'sensitiveContent' => 'Sensitive Content',
|
'sensitiveContent' => 'Sensitive Content',
|
||||||
|
@ -183,4 +187,13 @@ return [
|
||||||
'emptyFeed' => 'We can\'t seem to find any posts for this hashtag'
|
'emptyFeed' => 'We can\'t seem to find any posts for this hashtag'
|
||||||
],
|
],
|
||||||
|
|
||||||
|
'report' => [
|
||||||
|
'report' => 'Report',
|
||||||
|
'selectReason' => 'Select a reason',
|
||||||
|
'reported' => 'Reported',
|
||||||
|
'sendingReport' => 'Sending report',
|
||||||
|
'thanksMsg' => 'Thanks for the report, people like you help keep our community safe!',
|
||||||
|
'contactAdminMsg' => 'If you\'d like to contact an administrator about this post or report',
|
||||||
|
],
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue