Skip to content

Commit

Permalink
Merge branch 'rm/350533' into 'master'
Browse files Browse the repository at this point in the history
chore: add webp as image types

See merge request kchat/webapp!901
  • Loading branch information
antonbuks committed Aug 28, 2024
2 parents 32ad123 + bf1d75e commit a9dbe76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/channels/src/utils/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1597,7 +1597,7 @@ export const Constants = {
DEFAULT_CHARACTER_LIMIT: 4000,
IMAGE_TYPE_GIF: 'gif',
TEXT_TYPES: ['txt', 'rtf', 'vtt'],
IMAGE_TYPES: ['jpg', 'gif', 'bmp', 'png', 'jpeg', 'tiff', 'tif', 'psd', 'heic', 'HEIC', 'avif'],
IMAGE_TYPES: ['jpg', 'gif', 'bmp', 'png', 'jpeg', 'tiff', 'tif', 'psd', 'heic', 'HEIC', 'avif', 'webp'],
AUDIO_TYPES: [AudioFileExtensions.MP3, AudioFileExtensions.WAV, AudioFileExtensions.WMA, AudioFileExtensions.M4A, AudioFileExtensions.FLAC, AudioFileExtensions.AAC, AudioFileExtensions.OGG, AudioFileExtensions.M4R],
VIDEO_TYPES: ['mp4', 'avi', 'webm', 'mkv', 'wmv', 'mpg', 'mov', 'flv'],
PRESENTATION_TYPES: ['ppt', 'pptx'],
Expand Down

0 comments on commit a9dbe76

Please sign in to comment.