Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File Extension Incorrectly Shown as .jpg During MP4 Upload #6100

Open
Furret162 opened this issue Jan 22, 2025 · 0 comments · May be fixed by #6101
Open

File Extension Incorrectly Shown as .jpg During MP4 Upload #6100

Furret162 opened this issue Jan 22, 2025 · 0 comments · May be fixed by #6101

Comments

@Furret162
Copy link

Description:

When uploading an MP4 file to a channel, the file name displayed on the progress bar for the upload process shows the file extension as .jpg.

Environment Information:

  • Rocket.Chat Server Version:7.3.0 (https://open.rocket.chat/)
  • Rocket.Chat App Version:4.56.0
  • Device Name: SH-53A
  • OS Version: Android11

Steps to reproduce:

Upload an MP4 file.

screen-20250122-132416.2.mp4

Expected behavior:

The file name should be displayed with the .mp4 extension.

Actual behavior:

The file name is displayed with the .jpg extension.

Additional context:

When setting the name of the file to be uploaded, there is a part where it is hardcoded as .jpg.
https://github.com/RocketChat/Rocket.Chat.ReactNative/blob/develop/app/views/ShareView/index.tsx

@Rohit3523 Rohit3523 linked a pull request Jan 22, 2025 that will close this issue
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant