Closed euank closed 7 years ago
Implement it as well as upstream does that is. This matches the upstream implementation exactly: https://github.com/matrix-org/synapse/blob/f5a4001bb116c468cc5e8e0ae04a1c570e2cb171/synapse/rest/client/v2_alpha/tokenrefresh.py#L35-L36i
There are plans to remove it entirely in the future, so there's no reason to do anything more complicated here.
See also https://github.com/matrix-org/matrix-doc/pull/395 and https://github.com/matrix-org/synapse/pull/1654
Implement it as well as upstream does that is. This matches the upstream implementation exactly: https://github.com/matrix-org/synapse/blob/f5a4001bb116c468cc5e8e0ae04a1c570e2cb171/synapse/rest/client/v2_alpha/tokenrefresh.py#L35-L36i
There are plans to remove it entirely in the future, so there's no reason to do anything more complicated here.
See also https://github.com/matrix-org/matrix-doc/pull/395 and https://github.com/matrix-org/synapse/pull/1654