element-hq / element-hq/element-ios

Descriptive error messages when media fails to send.

Open
#4,749 2 comments 0 reactions 0 assignees View on GitHub
A-Composer Z-D1 Z-Papercuts
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

When a message fails to send, the standard text "Messages failed to send" is shown. Regarding videos, along with network issues, the failure could also be because of:
- The encoder failed.
- The media exceeds the homeserver's max upload size

We should add some more reasons for failure to properly communicate what went wrong, possibly falling back to "Messages failed to send" if more than one type of error occurred.

In this instance the video failed to encode, but it isn't obvious:
![Simulator Screen Shot - iPhone 12 mini - 2021-08-24 at 16 33 41](https://user-images.githubusercontent.com/6060466/130649035-e7ab84c3-6558-46e9-afab-3b016ca4fb4e.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.