kopia lustrzana https://github.com/nextcloud/social
check if there is standby request related to token
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>pull/275/head
rodzic
da8e1ab9a3
commit
02687476ff
|
@ -227,7 +227,10 @@ class ActivityService {
|
|||
return '';
|
||||
}
|
||||
|
||||
$this->curlService->asyncWithToken($token);
|
||||
$requests = $this->queueService->getRequestFromToken($token, RequestQueue::STATUS_STANDBY);
|
||||
if (sizeof($requests) > 0) {
|
||||
$this->curlService->asyncWithToken($token);
|
||||
}
|
||||
|
||||
return $token;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue