}
$accounts = [];
- foreach (Contact::searchByName($q, '', $following ? $uid : 0, $limit, $offset) as $contact) {
+ foreach (Contact::searchByName($q, '', $following ? $uid : 0, false, $limit, $offset) as $contact) {
$accounts[] = DI::mstdnAccount()->createFromContactId($contact['id'], $uid);
}