From b2b8b23ed622814944d57177fd6bec041eb09d0a Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Fri, 8 Apr 2022 13:59:43 +0200 Subject: [PATCH] Update src/Model/Contact.php Co-authored-by: Hypolite Petovan --- src/Model/Contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Contact.php b/src/Model/Contact.php index df1a25cd7..e23fa3169 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -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);