Merge pull request #6461 from annando/contacts-post

Private posts of contacts hadn't been displayed on the contact's page
This commit is contained in:
Tobias Diekershoff 2019-01-18 09:39:10 +01:00 committed by GitHub
commit 678004e15a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1414,7 +1414,7 @@ class Contact extends BaseObject
$items = Item::inArray($r); $items = Item::inArray($r);
$o = conversation($a, $items, $pager, 'contacts', $update); $o = conversation($a, $items, $pager, 'contacts', $update, false, 'commented', local_user());
} else { } else {
$r = Item::selectForUser(local_user(), [], $condition, $params); $r = Item::selectForUser(local_user(), [], $condition, $params);