mirror of
https://github.com/friendica/friendica
synced 2025-04-25 15:50:10 +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
|
@ -1414,11 +1414,11 @@ class Contact
|
|||
if ($thread_mode) {
|
||||
$items = Post::toArray(Post::selectForUser(local_user(), ['uri-id', 'gravity', 'parent-uri-id', 'thr-parent-id', 'author-id'], $condition, $params));
|
||||
|
||||
$o .= conversation($a, $items, 'contacts', $update, false, 'commented', local_user());
|
||||
$o .= DI::conversation()->create($items, 'contacts', $update, false, 'commented', local_user());
|
||||
} else {
|
||||
$items = Post::toArray(Post::selectForUser(local_user(), Item::DISPLAY_FIELDLIST, $condition, $params));
|
||||
|
||||
$o .= conversation($a, $items, 'contact-posts', $update);
|
||||
$o .= DI::conversation()->create($items, 'contact-posts', $update);
|
||||
}
|
||||
|
||||
if (!$update) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue