Fix wrong case in import struct, invite collections and user Uri back-compat

This commit is contained in:
Daniel García
2018-06-13 14:25:50 +02:00
parent f24e754ff7
commit 0905355629
3 changed files with 11 additions and 11 deletions

View File

@@ -84,7 +84,7 @@ impl Cipher {
// To remove backwards compatibility, just remove this entire section
// and remove the compat code from ciphers::update_cipher_from_data
if self.type_ == 1 && data_json["Uris"].is_array() {
let uri = data_json["Uris"][0]["uri"].clone();
let uri = data_json["Uris"][0]["Uri"].clone();
data_json["Uri"] = uri;
}
// TODO: ******* Backwards compat end **********