diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-04-09 23:07:08 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-04-09 23:07:08 +0900 |
| commit | ea06665c51c86f8cdde4ed1f7114e2963d59c767 (patch) | |
| tree | 5b5014e85706638d1df203017276ba5a5bb098cc /src/remote/activitypub/models | |
| parent | Update migrate.ts (diff) | |
| download | misskey-ea06665c51c86f8cdde4ed1f7114e2963d59c767.tar.gz misskey-ea06665c51c86f8cdde4ed1f7114e2963d59c767.tar.bz2 misskey-ea06665c51c86f8cdde4ed1f7114e2963d59c767.zip | |
isRemote --> isLink
Diffstat (limited to 'src/remote/activitypub/models')
| -rw-r--r-- | src/remote/activitypub/models/image.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote/activitypub/models/image.ts b/src/remote/activitypub/models/image.ts index 87095acd88..c9991dba3b 100644 --- a/src/remote/activitypub/models/image.ts +++ b/src/remote/activitypub/models/image.ts @@ -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) { |