mirror of
https://github.com/friendica/friendica
synced 2025-04-19 07:10:11 +00:00
The conversation functionality moved to a class
This commit is contained in:
parent
c9e30ac2c0
commit
0ad904c185
24 changed files with 1545 additions and 1494 deletions
|
@ -132,7 +132,7 @@ class Status extends BaseProfile
|
|||
'profile_uid' => $profile['uid'],
|
||||
];
|
||||
|
||||
$o .= status_editor($a, $x);
|
||||
$o .= DI::conversation()->statusEditor($x);
|
||||
}
|
||||
|
||||
// Get permissions SQL - if $remote_contact is true, our remote user has been pre-verified and we already have fetched his/her groups
|
||||
|
@ -224,7 +224,7 @@ class Status extends BaseProfile
|
|||
$items = array_merge($items, $pinned);
|
||||
}
|
||||
|
||||
$o .= conversation($a, $items, 'profile', false, false, 'pinned_received', $profile['uid']);
|
||||
$o .= DI::conversation()->create($items, 'profile', false, false, 'pinned_received', $profile['uid']);
|
||||
|
||||
$o .= $pager->renderMinimal(count($items));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue