Closed pixlwave closed 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.
nil
@[]
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 ofnil
, to match the desirable behaviour discussed here.