Verified Commit 0f58b11f authored by Chocobozzz's avatar Chocobozzz
Browse files

Reduce joins need to generate AP url

parent 3efa4da1
......@@ -3,7 +3,7 @@ import {
MAbuseFull,
MAbuseId,
MActor,
MActorFollowActors,
MActorFollow,
MActorId,
MActorUrl,
MCommentId,
......@@ -92,7 +92,7 @@ function getLocalActorFollowActivityPubUrl (follower: MActor, following: MActorI
return follower.url + '/follows/' + following.id
}
function getLocalActorFollowAcceptActivityPubUrl (actorFollow: MActorFollowActors) {
function getLocalActorFollowAcceptActivityPubUrl (actorFollow: MActorFollow) {
return WEBSERVER.URL + '/accepts/follows/' + actorFollow.id
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment