aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/activitypub
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-10-01 15:18:07 +0200
committerChocobozzz <me@florianbigard.com>2018-10-01 15:20:14 +0200
commit601527d7953a83d6ad08dbb2ed8ac02851beaf1e (patch)
tree8c2c83b526a6f137043ef3c7c06cb13e03b94438 /server/lib/activitypub
parent7361c401b17415931f25f3a2137ba22a06a6a4ed (diff)
downloadPeerTube-601527d7953a83d6ad08dbb2ed8ac02851beaf1e.tar.gz
PeerTube-601527d7953a83d6ad08dbb2ed8ac02851beaf1e.tar.zst
PeerTube-601527d7953a83d6ad08dbb2ed8ac02851beaf1e.zip
Check video channel name is unique on our instance
Diffstat (limited to 'server/lib/activitypub')
-rw-r--r--server/lib/activitypub/actor.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/actor.ts b/server/lib/activitypub/actor.ts
index d37a695a7..45dd4443d 100644
--- a/server/lib/activitypub/actor.ts
+++ b/server/lib/activitypub/actor.ts
@@ -56,7 +56,7 @@ async function getOrCreateActorAndServerAndModel (
56 // We don't have this actor in our database, fetch it on remote 56 // We don't have this actor in our database, fetch it on remote
57 if (!actor) { 57 if (!actor) {
58 const { result } = await fetchRemoteActor(actorUrl) 58 const { result } = await fetchRemoteActor(actorUrl)
59 if (result === undefined) throw new Error('Cannot fetch remote actor.') 59 if (result === undefined) throw new Error('Cannot fetch remote actor ' + actorUrl)
60 60
61 // Create the attributed to actor 61 // Create the attributed to actor
62 // In PeerTube a video channel is owned by an account 62 // In PeerTube a video channel is owned by an account