mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-22 11:15:13 +00:00
Merge branch 'dev' of /home/macgirvin/z into dev
This commit is contained in:
commit
ea6a39344b
2 changed files with 7 additions and 1 deletions
|
@ -248,6 +248,12 @@ class Dirsearch extends Controller {
|
|||
|
||||
foreach ($r as $rr) {
|
||||
|
||||
// We need a better way to do this than one query for every
|
||||
// AP record. Leaving this for the moment because it produces
|
||||
// the desired results of not having duplicate entries for
|
||||
// a channel that has multiple identities across multiple
|
||||
// networks.
|
||||
|
||||
if ($rr['xchan_network'] === 'activitypub') {
|
||||
$z = q("select xchan_hash from xchan where xchan_url = '%s' and xchan_network = 'zot6' limit 1",
|
||||
dbesc($rr['xchan_url'])
|
||||
|
|
|
@ -216,7 +216,7 @@ function poco_load($xchan = '', $url = null) {
|
|||
|
||||
function ap_poco_load($xchan) {
|
||||
|
||||
$max = get_config('system','max_imported_follow',1000);
|
||||
$max = get_config('system','max_imported_follow',200);
|
||||
|
||||
if($xchan) {
|
||||
$cl = get_xconfig($xchan,'activitypub','collections');
|
||||
|
|
Loading…
Reference in a new issue