From 45c39d33d3d53b671342bc9e3ba78730f7d2368c Mon Sep 17 00:00:00 2001 From: Ruben De Smet Date: Sun, 10 Nov 2024 23:40:57 +0100 Subject: [PATCH] Expose unrestricted unidentified access through AccountManager and decrypt (#344) --- src/account_manager.rs | 1 + src/profile_cipher.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/account_manager.rs b/src/account_manager.rs index d98d7ca27..ee069323d 100644 --- a/src/account_manager.rs +++ b/src/account_manager.rs @@ -71,6 +71,7 @@ pub struct Profile { pub about: Option, pub about_emoji: Option, pub avatar: Option, + pub unrestricted_unidentified_access: bool, } impl AccountManager { diff --git a/src/profile_cipher.rs b/src/profile_cipher.rs index 7da962eab..f4c552181 100644 --- a/src/profile_cipher.rs +++ b/src/profile_cipher.rs @@ -157,6 +157,8 @@ impl ProfileCipher { about, about_emoji, avatar: encrypted_profile.avatar, + unrestricted_unidentified_access: encrypted_profile + .unrestricted_unidentified_access, }) }