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

This commit is contained in:
Hazelnoot 2024-11-03 12:00:19 -05:00
parent 9eb98ae8a5
commit f115116454

View file

@ -548,7 +548,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) {