From 6138d46509f580cd97a721d2e2ec8c72cfc3f4f8 Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Sun, 28 Jul 2019 05:32:40 +0900 Subject: [PATCH] =?UTF-8?q?AP=20Emoji=E3=81=AEupdated=E3=81=AF=E6=8E=A1?= =?UTF-8?q?=E7=94=A8=E3=81=97=E3=81=AA=E3=81=84=E3=82=88=E3=81=86=E3=81=AB?= =?UTF-8?q?=20(#5220)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * AP Emojiのupdatedは採用しない * updated判定は残す --- src/remote/activitypub/models/note.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/remote/activitypub/models/note.ts b/src/remote/activitypub/models/note.ts index 31e1ea10e7..9afbb39151 100644 --- a/src/remote/activitypub/models/note.ts +++ b/src/remote/activitypub/models/note.ts @@ -302,6 +302,7 @@ export async function extractEmojis(tags: ITag[], host: string): Promise exists.updatedAt) + || (tag.icon!.url !== exists.url) ) { await Emojis.update({ host, @@ -309,7 +310,7 @@ export async function extractEmojis(tags: ITag[], host: string): Promise); }));