WideChat / Rocket.Chat.Android

Rocket.Chat Native Android Application
https://rocket.chat
MIT License
12 stars 6 forks source link

Message stays in composer for ~20 seconds when message failure occurs #547

Closed bizzbyster closed 5 years ago

bizzbyster commented 5 years ago

When I disconnect the network, and then send a message. The message shows up in the messages window but it also stays in the composer for ~20 seconds. In debugging, I know that this is the amount of time it takes for a network exception to be thrown.

image

During that 20 seconds, the user doesn't know what to do. In addition, the send button doesn't work so the user is pretty much stuck. Better would be to simply clear the composer and indicate send status via one grey checkmark (unsent) and two grey checkmarks (sent but not yet read and a blue checkmark (read).

bizzbyster commented 5 years ago

https://github.com/WideChat/Rocket.Chat.Android/pull/560