fix: send webm as file, it is not supported by all UI #7381
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
this PR forces webm to be sent as file and adds some reasoning to the comment.
one can now rant a lot about apple, but this is the reality.
we tried to support webm by additional libraries, but gave up, it was a too heavy lib, that would come with all kind of security issues. also, it seems not worth the effort, afaik, webm does not come to avg user by the normal flow, only by eg. collecting things from the browser or so, dragging it to the deltachat window - but at that point, there are many formats not supported.
with .heic being sent as files we have a similar situation, btw.
one can argue that it is also unexpected that a file is not shown in-app, or gets sorted to "Files", sure, but we cannot avoid that reasonably.
and it is even more unexpected that it is shown on some and not shown on other UI. as happening a lot when one user sends a lot of webm stickers, assuming they are show to other as well. and there is not much the receiver can do about that. so consistently sending as "File" is the better tradeoff