mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-12-03 12:49:30 +00:00
c08f235ea8
A rate limited invite was retried on a hard coded five second delay with no bound, so the client kept hammering a server which had already refused, and ignored the retry_after_ms it asked us to wait. The delay now comes from the server, capped so a very long backoff cannot leave the invite dialog hanging, and each address gives up after a few attempts with an error rather than looping. Cancelling an in-flight invite is a separate concern and is not addressed here. Fixes https://github.com/element-hq/element-web/issues/30427 Co-authored-by: David Baker <dbkr@users.noreply.github.com>