commit e7d36de784fc978c951cbd68862912af6a165876
parent 0af1ef387dbb7fa8c0f492c90e66c1e32d55e11e
Author: Daniel GarcĂa <dani-garcia@users.noreply.github.com>
Date: Tue, 21 Feb 2023 21:29:13 +0100
Merge branch 'Misterbabou-issue-3249'
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/db/models/collection.rs b/src/db/models/collection.rs
@@ -64,6 +64,8 @@ impl Collection {
Some(_) => {
if let Some(uc) = cipher_sync_data.user_collections.get(&self.uuid) {
(uc.read_only, uc.hide_passwords)
+ } else if let Some(cg) = cipher_sync_data.user_collections_groups.get(&self.uuid) {
+ (cg.read_only, cg.hide_passwords)
} else {
(false, false)
}