This repository was archived by the owner on Sep 11, 2024. It is now read-only.
Show connection error message immediately, also during reconnect #2138
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.
As catchup sync can take quite some time (maybe temporarily even slower with LL)
it can be confusing when you come back to riot after a couple of days and you only see old messages while the first sync is running. If riot didn't get the time to fail /sync 3 times (like when sleeping your laptop), it won't show you anything to indicate your timeline is behind and its reconnecting.
This is probably not the best way to deal with this, as in the laptop wakeup scenario, you might as well have 0 failed syncs but still catchup takes minutes. Looking at how much time there was between the last and new sync might be better, but this sort of does the job for now
Addresses item 6 (We no longer show a spinner when recovering after losing connectivity) of element-hq/element-web#7182