1
0
Fork 0

Reduce joins need to generate AP url

This commit is contained in:
Chocobozzz 2022-07-25 11:26:27 +02:00
parent 3efa4da1fe
commit 0f58b11f5c
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -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
} }