Message is lost if timeout on sending
Issue
Sending a message may fail in the case of a timeout, for example if the connection is actually lost when going through a tunnel. In this case, an timeout error message will be displayed and the typed message will be lost. Instead, it would be better to either save it as a draft or to keep the editor opened.
Steps for reproducing the issue
- Start typing a message.
- Go in a tunnel where there is actually no connection (but the phone still displays as connected).
- Send the message.
I tried to reproduce it without success at home by disabling the DSL connection of my modem. In this case, the error is that Fedilab could not connect to the server and the message stays in the editor.
Instance: framapiaf.org
-
Mastodon -
Pleroma -
Peertube -
GNU Social -
Friendica -
Pixelfed
Version of Fedilab: 2.36.2 (F-Droid)
Android version: 8.0.0