skip Delete(Note) activities when the note is already deleted
This commit is contained in:
@@ -548,7 +548,7 @@ export class ApInboxService {
|
|||||||
const note = await this.apDbResolverService.getNoteFromApId(uri);
|
const note = await this.apDbResolverService.getNoteFromApId(uri);
|
||||||
|
|
||||||
if (note == null) {
|
if (note == null) {
|
||||||
return 'message not found';
|
return 'skip: ignoring deleted note on both ends';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (note.userId !== actor.id) {
|
if (note.userId !== actor.id) {
|
||||||
|
|||||||
Reference in New Issue
Block a user