1
1
Fork 0

Update src/Model/Contact.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Michael Vogel 2022-04-08 13:59:43 +02:00 committed by GitHub
parent 69b7923df2
commit b2b8b23ed6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1477,7 +1477,7 @@ class Contact
$condition = ["`uri-id` IN (SELECT `uri-id` FROM `collection-view` WHERE `cid` = ?)", $cdata['public']];
$pinned = Post::toArray(Post::selectForUser(local_user(), $fields, $condition, $params));
$items = array_merge($pinned, $items);
}
}
}
$o .= DI::conversation()->create($items, 'contact-posts', $update);