mirror of
https://github.com/friendica/friendica
synced 2025-04-19 05:50:10 +00:00
Contact suggestions are now cached
This commit is contained in:
parent
8eda9dfe7c
commit
f31e617f5d
13 changed files with 218 additions and 17 deletions
|
@ -43,7 +43,7 @@ class Suggestions extends BaseApi
|
|||
'limit' => 40, // Maximum number of results to return. Defaults to 40.
|
||||
], $request);
|
||||
|
||||
$suggestions = Contact\Relation::getSuggestions($uid, 0, $request['limit']);
|
||||
$suggestions = Contact\Relation::getCachedSuggestions($uid, 0, $request['limit']);
|
||||
|
||||
$accounts = [];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue