Update AP Inbox

pull/1461/head
Daniel Supernault 2019-06-24 22:46:35 -06:00
rodzic 8ad46b8c32
commit 234f1df097
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
3 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -56,7 +56,7 @@ class SearchController extends Controller
]
]];
} else if ($type == 'Note') {
$item = Helpers::statusFirstOrFetch($tag, false);
$item = Helpers::statusFetch($tag);
$tokens['posts'] = [[
'count' => 0,
'url' => $item->url(),

Wyświetl plik

@ -206,7 +206,7 @@ class Helpers {
return self::fetchFromUrl($url);
}
public static function statusFirstOrFetch($url, $replyTo = true)
public static function statusFirstOrFetch($url, $replyTo = false)
{
$url = self::validateUrl($url);
if($url == false) {

Wyświetl plik

@ -151,7 +151,7 @@ class Inbox
if(Status::whereUrl($url)->exists()) {
return;
}
Helpers::statusFirstOrFetch($url, false);
Helpers::statusFetch($url);
return;
}