Open rk-for-zulip opened 4 years ago
One reproduction method here (until #3743 is fixed) is to send a message with an empty or whitespace-only topic.
From offline brainstorming: perhaps there should be an optional httpResponse
field in Outbox. Items with 4xx codes should be displayed as an :x:; other messages get the spinner.
We could also give httpResponse
a special non-numeric "too old to send" value (see discussion on #3734) and retain messages that would have been dropped due to age, instead displaying them with an :x: as well.
With the potential feature described in zulip/zulip#13626, this case may start arising more often.
We've had another report of this, at https://github.com/zulip/zulip-mobile/issues/4033#issuecomment-613743082.
If sending a message fails with a 4xx error (indicating that retrying won't help), the message still appears in the message list with a spinner, rather than some form of failure UI.