mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 05:23:09 +02:00
authorized fetch: let /@instance.actor through
this is probably never actually used, but it still looks like a good idea (also, FireFish does it) thanks @ShittyKoper for noticing!
This commit is contained in:
parent
e5ea882ed7
commit
1984416e3e
1 changed files with 1 additions and 0 deletions
|
@ -131,6 +131,7 @@ export class ActivityPubServerService {
|
||||||
const instanceActor = await this.instanceActorService.getInstanceActor();
|
const instanceActor = await this.instanceActorService.getInstanceActor();
|
||||||
|
|
||||||
if (userId === instanceActor.id) return false;
|
if (userId === instanceActor.id) return false;
|
||||||
|
if (userId === instanceActor.username) return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
let signature;
|
let signature;
|
||||||
|
|
Loading…
Reference in a new issue