AiursoftWeb / Kahla.App

Kahla is a cross-platform business messaging app.
https://www.kahla.app
MIT License
415 stars 85 forks source link

Shared video from file history is a file. #907

Open Anduin2017 opened 4 years ago

Anduin2017 commented 4 years ago

What do you suggest us to do?

Now that if you share a video from file history to another conversation, it will be displayed as a file but not a video. That may cause the other users hard to watch.

Additional context

Nothing.

hv0905 commented 4 years ago

This is because currently in file-history, app can't judge if the .mp4 file is sent as video or as file. So all files in file-history are seized as file when forwarding.

Possible solutions:

  1. Always seize .mp4, .mkv ... file as video and .png .jpg ... file as image when forwarding.
  2. Ask user in which case to forward the file above.
  3. Find a way to allow file-history api getting the file type.