Merge tag '2024.11.0' into feature/2024.10

This commit is contained in:
dakkar 2024-11-22 12:29:04 +00:00
commit bc816cb166
234 changed files with 6612 additions and 4634 deletions

View file

@ -68,10 +68,10 @@ const onDriveFileCreated = (file) => {
}
};
const thumbnail = (image: any): string => {
const thumbnail = (image: Misskey.entities.DriveFile): string => {
return defaultStore.state.disableShowingAnimatedImages
? getStaticImageUrl(image.url)
: image.thumbnailUrl;
: image.thumbnailUrl ?? image.url;
};
misskeyApi('drive/stream', {