Support Blurhash

This commit is contained in:
Michael 2022-12-04 13:29:21 +00:00
parent 22e2578b23
commit a5be5b27e3
16 changed files with 152 additions and 17 deletions

View file

@ -76,7 +76,7 @@ class Relation
*/
public static function discoverByUser(int $uid)
{
$contact = Contact::selectFirst(['id', 'url'], ['uid' => $uid, 'self' => true]);
$contact = Contact::selectFirst(['id', 'url', 'network'], ['uid' => $uid, 'self' => true]);
if (empty($contact)) {
Logger::warning('Self contact for user not found', ['uid' => $uid]);
return;