Reformatting

This commit is contained in:
Michael 2021-09-23 21:53:52 +00:00
parent a6c85f6106
commit f696fce824
1 changed files with 92 additions and 90 deletions

View File

@ -805,8 +805,10 @@ class Conversation
if (!empty($activity)) {
if (($row['gravity'] == GRAVITY_PARENT)) {
$row['post-reason'] = ItemModel::PR_ANNOUNCEMENT;
$row = array_merge($row, $activity);
$contact = Contact::getById($activity['causer-id'], ['url', 'name', 'thumb']);
$row['causer-link'] = $contact['url'];
$row['causer-avatar'] = $contact['thumb'];
$row['causer-name'] = $contact['name'];