Skip to content

Commit

Permalink
Expose unrestricted unidentified access through AccountManager and de…
Browse files Browse the repository at this point in the history
…crypt (#344)
  • Loading branch information
rubdos authored Nov 10, 2024
1 parent 6401dc3 commit 45c39d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/account_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ pub struct Profile {
pub about: Option<String>,
pub about_emoji: Option<String>,
pub avatar: Option<String>,
pub unrestricted_unidentified_access: bool,
}

impl AccountManager {
Expand Down
2 changes: 2 additions & 0 deletions src/profile_cipher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ impl ProfileCipher {
about,
about_emoji,
avatar: encrypted_profile.avatar,
unrestricted_unidentified_access: encrypted_profile
.unrestricted_unidentified_access,
})
}

Expand Down

0 comments on commit 45c39d3

Please sign in to comment.