kopia lustrzana https://github.com/nextcloud/social
rodzic
6f549f0b64
commit
502d94316b
|
@ -180,6 +180,7 @@ class FollowService {
|
||||||
* @throws ItemUnknownException
|
* @throws ItemUnknownException
|
||||||
* @throws UrlCloudException
|
* @throws UrlCloudException
|
||||||
* @throws RequestResultNotJsonException
|
* @throws RequestResultNotJsonException
|
||||||
|
* @throws UnauthorizedFediverseException
|
||||||
*/
|
*/
|
||||||
public function unfollowAccount(Person $actor, string $account) {
|
public function unfollowAccount(Person $actor, string $account) {
|
||||||
$remoteActor = $this->cacheActorService->getFromAccount($account);
|
$remoteActor = $this->cacheActorService->getFromAccount($account);
|
||||||
|
|
|
@ -357,7 +357,7 @@ class SignatureService {
|
||||||
|
|
||||||
foreach ($keys as $key) {
|
foreach ($keys as $key) {
|
||||||
if ($key === '(request-target)') {
|
if ($key === '(request-target)') {
|
||||||
$estimated .= "(request-target): " . $target;
|
$estimated .= "(request-target): " . $target . "\n";
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue