Skip to content

fix: always use core viewType for compatibility#6282

Open
nicodh wants to merge 1 commit intomainfrom
streamline-file-formats
Open

fix: always use core viewType for compatibility#6282
nicodh wants to merge 1 commit intomainfrom
streamline-file-formats

Conversation

@nicodh
Copy link
Copy Markdown
Member

@nicodh nicodh commented Apr 20, 2026

resolves #6049

As mentioned in the comment for MEDIA_VIEW_TYPES: the compatibilty with other clients now has higher priority to avoid one client sending media that the other clients won't be able to run/see for the cost that not all media types that could be displayed will be displayed

jumpToMessage: JumpToMessage
) => {
const showCopyImage = message.viewType === 'Image'
const showCopyImage = isImage(message.viewType)
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This now also includes viewType GIF I don't know why that was excluded before

@nicodh nicodh force-pushed the streamline-file-formats branch from e448ae6 to c152038 Compare April 20, 2026 06:56
@nicodh nicodh added the catching up with other clients catching up with features that the other clients (mainly iOS and android) already have label Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

catching up with other clients catching up with features that the other clients (mainly iOS and android) already have

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Desktop ignores viewtype and displays SVG as an image even though it should have a File viewtype from the core

1 participant