Skip to content

Commit

Permalink
don't share with our own device
Browse files Browse the repository at this point in the history
  • Loading branch information
uhoreg committed Aug 2, 2024
1 parent 462b39a commit c2332ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ pub(crate) async fn collect_session_recipients(
let own_identity =
store.get_user_identity(store.user_id()).await?.and_then(|i| i.into_own());
for user_id in users {
let user_devices = store.get_device_data_for_user(user_id).await?;
let user_devices = store.get_device_data_for_user_filtered(user_id).await?;

// We only need the user identity if only_allow_trusted_devices is set.
let device_owner_identity = if only_allow_trusted_devices {
Expand Down

0 comments on commit c2332ce

Please sign in to comment.