matrix-org / matrix-ios-kit

Reusable UI interfaces to ease building of Matrix client apps
http://www.matrix.org
Apache License 2.0
128 stars 71 forks source link

Revert removal of default ignored hosts value. #904

Closed pixlwave closed 3 years ago

pixlwave commented 3 years ago

Fixes https://github.com/vector-im/element-ios/issues/4826. The matrix.to host was only stored in the synthesized variable and not the user defaults.

This returns matrix.to when the user defaults return nil and always sets @[] instead of nil, to match the desirable behaviour discussed here.