isRemote --> isLink

This commit is contained in:
syuilo
2019-04-09 23:07:08 +09:00
parent 74a4bd704c
commit ea06665c51
4 changed files with 5 additions and 5 deletions

View File

@ -40,7 +40,7 @@ export async function createImage(actor: IRemoteUser, value: any): Promise<Drive
throw e;
}
if (file.isRemote) {
if (file.isLink) {
// URLが異なっている場合、同じ画像が以前に異なるURLで登録されていたということなので、
// URLを更新する
if (file.url !== image.url) {