mirror of https://github.com/Chocobozzz/PeerTube
Reduce joins need to generate AP url
parent
3efa4da1fe
commit
0f58b11f5c
|
@ -3,7 +3,7 @@ import {
|
||||||
MAbuseFull,
|
MAbuseFull,
|
||||||
MAbuseId,
|
MAbuseId,
|
||||||
MActor,
|
MActor,
|
||||||
MActorFollowActors,
|
MActorFollow,
|
||||||
MActorId,
|
MActorId,
|
||||||
MActorUrl,
|
MActorUrl,
|
||||||
MCommentId,
|
MCommentId,
|
||||||
|
@ -92,7 +92,7 @@ function getLocalActorFollowActivityPubUrl (follower: MActor, following: MActorI
|
||||||
return follower.url + '/follows/' + following.id
|
return follower.url + '/follows/' + following.id
|
||||||
}
|
}
|
||||||
|
|
||||||
function getLocalActorFollowAcceptActivityPubUrl (actorFollow: MActorFollowActors) {
|
function getLocalActorFollowAcceptActivityPubUrl (actorFollow: MActorFollow) {
|
||||||
return WEBSERVER.URL + '/accepts/follows/' + actorFollow.id
|
return WEBSERVER.URL + '/accepts/follows/' + actorFollow.id
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue