matrix-react-sdk
4e42dbe4 - Fix address type props to state conversion

Commit
7 years ago
Fix address type props to state conversion The address picker recently started tracking props and state versions of valid address types separately (https://github.com/matrix-org/matrix-react-sdk/pull/3408), where props represents the maximal set of possible types and the state is the current available types right now (since it can change while the dialog is open). For the case where there is no a IS, a regression was introduced by that PR by mutating the props in place instead returning a modified copy for the state. Regressed by https://github.com/matrix-org/matrix-react-sdk/pull/3408 Fixes https://github.com/vector-im/riot-web/issues/10878
Author
Committer
Parents
Loading