-
Notifications
You must be signed in to change notification settings - Fork 782
Per room block unverified devices #6726
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
...ix-sdk-android/src/androidTest/java/org/matrix/android/sdk/internal/crypto/E2eeTestConfig.kt
Outdated
Show resolved
Hide resolved
matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/store/IMXCryptoStore.kt
Outdated
Show resolved
Hide resolved
matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/DefaultCryptoService.kt
Outdated
Show resolved
Hide resolved
vector/src/main/java/im/vector/app/features/roomprofile/settings/RoomSettingsController.kt
Outdated
Show resolved
Hide resolved
vector/src/main/java/im/vector/app/features/roomprofile/settings/RoomSettingsAction.kt
Outdated
Show resolved
Hide resolved
75ae1f5
to
ec3462b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Some remarks, I do not think there are anything blocking though.
matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/crypto/CryptoService.kt
Outdated
Show resolved
Hide resolved
vector/src/main/java/im/vector/app/features/roomprofile/settings/RoomSettingsController.kt
Outdated
Show resolved
Hide resolved
val canUpgradeToRestricted: Boolean = false, | ||
val encryptToVerifiedDeviceOnly: Async<Boolean> = Uninitialized, | ||
val globalCryptoConfig: Async<GlobalCryptoConfig> = Uninitialized, | ||
val unverifiedDevicesInTheRoom: Async<Boolean> = Uninitialized, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this is not necessary to use Async
type for those 3 new fields. Not a blocker though.
e471900
to
e92a047
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update.
// } | ||
// } | ||
// } | ||
// } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the commented out block could be removed.
Co-authored-by: Benoit Marty <[email protected]>
680e0f4
to
b567fc5
Compare
@@ -7,6 +7,8 @@ | |||
android:background="?android:colorBackground" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠️ Possible overdraw: Root element paints background?android:colorBackground
with a theme that also paints a background (inferred theme is@android:style/Theme.Holo
)⚠️ Possible overdraw: Root element paints background?android:colorBackground
with a theme that also paints a background (inferred theme is@android:style/Theme.Holo
)
@@ -7,6 +7,8 @@ | |||
android:background="?android:colorBackground" | |||
android:foreground="?attr/selectableItemBackground" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠️ Attributeandroid:foreground
has no effect on API levels lower than 23 (current min is 21)⚠️ Attributeandroid:foreground
has no effect on API levels lower than 23 (current min is 21)
SonarCloud Quality Gate failed. |
Type of change
Fixes #6725
Content
Adds the option to only send keys to verified devices per room. The setting was ready in SDK but just not exposed in UI.
Also added UI feedback when the option is on in global settings.
Motivation and context
Screenshots / GIFs
Tested devices
Checklist