0
0

fix: prevent note federation for localOnly

This commit is contained in:
caipira113 2024-10-17 23:18:01 +09:00
parent f7d74b74e4
commit 654821da00
No known key found for this signature in database

View File

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