Skip to content
Snippets Groups Projects
Unverified Commit fea619d3 authored by David Baker's avatar David Baker Committed by GitHub
Browse files

Fix token refresh behaviour for non-expired tokens (#4825)

The condition was inverted here, but the tests were passing because
they didn't add enough expiry time for the token expiry to be over
the threshold.

Fix the condition and tests, add another test and generally add a
bunch of comments so hopefully this is less confusing for the next
person.

Fixes https://github.com/element-hq/element-web/issues/29858
parent f322f32a
Branches
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment