Fix uddate issues and improve speed when displaying contact posts

This commit is contained in:
Michael 2023-12-14 04:58:43 +00:00
parent 747a15f0e0
commit f81192b4c3
8 changed files with 135 additions and 75 deletions

View file

@ -113,7 +113,7 @@ class Conversations extends BaseModule
$o = $this->conversation->statusEditor([], 0, true);
$o .= Contact::getTabsHTML($contact, Contact::TAB_CONVERSATIONS);
$o .= Model\Contact::getPostsFromId($contact['id'], true);
$o .= Model\Contact::getThreadsFromId($contact['id'], $this->userSession->getLocalUserId(), 0, 0, $request['last_received'] ?? '');
return $o;
}