Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/components/ContactDetails/ContactDetailsAvatar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,10 @@
return 'image/webp'
}

if (nextcloudMajorVersion >= 32 && hex.slice(8, 24) === '6674797061766966') {
return 'image/avif'
}

Check warning on line 327 in src/components/ContactDetails/ContactDetailsAvatar.vue

View check run for this annotation

Codecov / codecov/patch

src/components/ContactDetails/ContactDetailsAvatar.vue#L327

Added line #L327 was not covered by tests

switch (hex.slice(0, 8)) {
case '89504E47':
return 'image/png'
Expand Down
Loading