Update src/Model/Contact.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
69b7923df2
commit
b2b8b23ed6
|
@ -1477,7 +1477,7 @@ class Contact
|
||||||
$condition = ["`uri-id` IN (SELECT `uri-id` FROM `collection-view` WHERE `cid` = ?)", $cdata['public']];
|
$condition = ["`uri-id` IN (SELECT `uri-id` FROM `collection-view` WHERE `cid` = ?)", $cdata['public']];
|
||||||
$pinned = Post::toArray(Post::selectForUser(local_user(), $fields, $condition, $params));
|
$pinned = Post::toArray(Post::selectForUser(local_user(), $fields, $condition, $params));
|
||||||
$items = array_merge($pinned, $items);
|
$items = array_merge($pinned, $items);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$o .= DI::conversation()->create($items, 'contact-posts', $update);
|
$o .= DI::conversation()->create($items, 'contact-posts', $update);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user