mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 04:03:49 +01:00
fix(activitypub): not reacted な Undo.Like がinboxに滞留するのを修正
https: //github.com/mei23/misskey/commit/1cfb5e09a44819b82333df26409ec9d9657bdcfc Co-Authored-By: MeiMei <30769358+mei23@users.noreply.github.com>
This commit is contained in:
parent
e01348d620
commit
bcf8bd160e
@ -21,6 +21,7 @@
|
||||
### Bugfixes
|
||||
- クライアント: テーマの管理が行えない問題を修正
|
||||
- API: アプリケーション通知が取得できない問題を修正
|
||||
- ActivityPub: not reacted な Undo.Like がinboxに滞留するのを修正
|
||||
|
||||
## 12.92.0 (2021/10/16)
|
||||
|
||||
|
@ -12,6 +12,10 @@ export default async (actor: IRemoteUser, activity: ILike) => {
|
||||
const note = await fetchNote(targetUri);
|
||||
if (!note) return `skip: target note not found ${targetUri}`;
|
||||
|
||||
await deleteReaction(actor, note);
|
||||
await deleteReaction(actor, note).catch(e => {
|
||||
if (e.id === '60527ec9-b4cb-4a88-a6bd-32d3ad26817d') return;
|
||||
throw e;
|
||||
});
|
||||
|
||||
return `ok`;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user