diff --git a/megalodon/src/misskey/api_client.ts b/megalodon/src/misskey/api_client.ts index 85a53e2..99ca58b 100644 --- a/megalodon/src/misskey/api_client.ts +++ b/megalodon/src/misskey/api_client.ts @@ -166,8 +166,8 @@ namespace MisskeyAPI { width: f.properties.width, height: f.properties.height }, - description: null, - blurhash: null + description: f.comment, + blurhash: f.blurhash } } diff --git a/megalodon/src/misskey/entities/file.ts b/megalodon/src/misskey/entities/file.ts index 6e4e09e..e9e29ff 100644 --- a/megalodon/src/misskey/entities/file.ts +++ b/megalodon/src/misskey/entities/file.ts @@ -14,5 +14,7 @@ namespace MisskeyEntity { } url: string thumbnailUrl: string + comment: string + blurhash: string } }