-
Notifications
You must be signed in to change notification settings - Fork 28
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
fix: Remove Reset Session for MLS conversations #3298
fix: Remove Reset Session for MLS conversations #3298
Conversation
@@ -240,6 +242,9 @@ internal fun MessageDecryptionFailure( | |||
text = stringResource(R.string.label_learn_more) | |||
) | |||
VerticalSpace.x4() | |||
|
|||
if (conversationProtocol !is Conversation.ProtocolInfo.Proteus) return@Column |
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.
in fact this is the only changes in Compose, all others - just refactoring to make it more readable
Test Results860 tests 860 ✅ 12m 37s ⏱️ Results for commit 2e7d1a6. ♻️ This comment has been updated with latest results. |
APKs built during tests are available here. Scroll down to Artifacts! |
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.
Great catch on the issue 👌🏻
Just added 2 comments for better readability on ConversationTopAppBar
and if we can add one more preview with decryption error
app/src/main/kotlin/com/wire/android/ui/home/conversations/ConversationTopAppBar.kt
Outdated
Show resolved
Hide resolved
app/src/main/kotlin/com/wire/android/ui/home/conversations/MessageItemComponents.kt
Outdated
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
APKs built during tests are available here. Scroll down to Artifacts! |
What's new in this PR?
Issues
When we receive decryption errors in an MLS conversation, we show a “reset session” button.
But this button does not help to reset the session and is useless.
Therefore, we should hide it and not show it to the user.
Causes (Optional)
Nobody think about differences in MLS conversations :)
Solutions
Think about it and remove "Reset Session" btn and text "Try resetting the session ..." text