fix: prevent note federation for localOnly
This commit is contained in:
parent
f7d74b74e4
commit
654821da00
@ -230,7 +230,7 @@ export class NoteUpdateService implements OnApplicationShutdown {
|
|||||||
});
|
});
|
||||||
|
|
||||||
//#region AP deliver
|
//#region AP deliver
|
||||||
if (this.userEntityService.isLocalUser(user)) {
|
if (this.userEntityService.isLocalUser(user) && !note.localOnly) {
|
||||||
await (async () => {
|
await (async () => {
|
||||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||||
// @ts-expect-error
|
// @ts-expect-error
|
||||||
|
Loading…
Reference in New Issue
Block a user