forked from friendica/friendica-addons
We should quit on not getting data
This commit is contained in:
parent
74353e7f2d
commit
c0d7330b45
|
@ -1387,6 +1387,10 @@ function pumpio_getallusers(App &$a, $uid)
|
||||||
$success = false;
|
$success = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (empty($users)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if ($users->totalItems > count($users->items)) {
|
if ($users->totalItems > count($users->items)) {
|
||||||
$url = 'https://'.$hostname.'/api/user/'.$username.'/following?count='.$users->totalItems;
|
$url = 'https://'.$hostname.'/api/user/'.$username.'/following?count='.$users->totalItems;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue