summaryrefslogtreecommitdiffstats
path: root/lib/Service/FollowService.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Service/FollowService.php')
-rw-r--r--lib/Service/FollowService.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Service/FollowService.php b/lib/Service/FollowService.php
index ec4b5b67..512dbd83 100644
--- a/lib/Service/FollowService.php
+++ b/lib/Service/FollowService.php
@@ -48,6 +48,7 @@ use OCA\Social\Exceptions\RequestResultSizeException;
use OCA\Social\Exceptions\RequestServerException;
use OCA\Social\Exceptions\SocialAppConfigException;
use OCA\Social\Exceptions\ItemUnknownException;
+use OCA\Social\Exceptions\UnauthorizedFediverseException;
use OCA\Social\Exceptions\UrlCloudException;
use OCA\Social\Model\ActivityPub\Object\Follow;
use OCA\Social\Model\ActivityPub\Activity\Undo;
@@ -131,6 +132,7 @@ class FollowService {
* @throws RequestResultSizeException
* @throws RequestServerException
* @throws RequestResultNotJsonException
+ * @throws UnauthorizedFediverseException
*/
public function followAccount(Person $actor, string $account) {
$remoteActor = $this->cacheActorService->getFromAccount($account);