mirror of
https://github.com/friendica/friendica
synced 2025-04-19 09:50: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
|
@ -145,7 +145,7 @@ class Network extends BaseModule
|
|||
'content' => $content,
|
||||
];
|
||||
|
||||
$o .= status_editor($a, $x);
|
||||
$o .= DI::conversation()->statusEditor($x);
|
||||
}
|
||||
|
||||
if (self::$groupId) {
|
||||
|
@ -178,7 +178,7 @@ class Network extends BaseModule
|
|||
$ordering = '`commented`';
|
||||
}
|
||||
|
||||
$o .= conversation(DI::app(), $items, 'network', false, false, $ordering, local_user());
|
||||
$o .= DI::conversation()->create($items, 'network', false, false, $ordering, local_user());
|
||||
|
||||
if (DI::pConfig()->get(local_user(), 'system', 'infinite_scroll')) {
|
||||
$o .= HTML::scrollLoader();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue