skip Delete(Note) activities when the note is already deleted

This commit is contained in:
Hazelnoot 2024-11-03 12:00:19 -05:00 committed by fly_mc
parent f17251aa3e
commit 803398e2c8

View file

@ -547,7 +547,7 @@ export class ApInboxService {
const note = await this.apDbResolverService.getNoteFromApId(uri);
if (note == null) {
return 'message not found';
return 'skip: ignoring deleted note on both ends';
}
if (note.userId !== actor.id) {