Skip to content
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

feat(mls): handle unsupported protocol case [WPB-5047] #2579

Merged

Conversation

vitorhugods
Copy link
Contributor

@vitorhugods vitorhugods commented Jan 11, 2024

StoryWPB-5047 [Android] Make 1-1 conversation readonly when there's no common protocol


PR Submission Checklist for internal contributors

  • The PR Title

    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  • The PR Description

    • is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?

Issues

When a conversation is using a protocol that the device doesn't support. We need to lock the conversation UI and inform the user the reason.

Solutions

The MessageComposer was been updated to handle an UnsupportedProtocol case. This case renders a disabled message composer with a warning message. This warning informs users that the conversation is using an unsupported encryption protocol.

Dependencies

Needs releases with:


PR Post Merge Checklist for internal contributors

  • If any soft of configuration variable was introduced by this PR, it has been added to the relevant documents and the CI jobs have been updated.

References
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

@vitorhugods vitorhugods requested review from a team, typfel, yamilmedina, mchenani, ohassine and saleniuk and removed request for a team January 11, 2024 16:20
Copy link
Contributor

github-actions bot commented Jan 11, 2024

Test Results

742 tests   742 ✅  9m 24s ⏱️
102 suites    0 💤
102 files      0 ❌

Results for commit 1bcde49.

♻️ This comment has been updated with latest results.

Copy link
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

@AndroidBob
Copy link
Collaborator

Build 2520 succeeded.

The build produced the following APK's:

vitorhugods and others added 2 commits January 12, 2024 12:52
The MessageComposer has been updated to handle an UnsupportedProtocol case. This case renders a disabled message composer with a warning message. This warning informs users that the conversation is using an unsupported encryption protocol.
@vitorhugods vitorhugods force-pushed the feat/mls/inform-that-user-doesnt-support-protocol branch from 7de3c30 to 1bcde49 Compare January 12, 2024 11:52
Copy link
Contributor

APKs built during tests are available here. Scroll down to Artifacts!

@AndroidBob
Copy link
Collaborator

Build 2533 succeeded.

The build produced the following APK's:

@vitorhugods vitorhugods added this pull request to the merge queue Jan 12, 2024
Merged via the queue into develop with commit e5ee064 Jan 12, 2024
15 checks passed
@vitorhugods vitorhugods deleted the feat/mls/inform-that-user-doesnt-support-protocol branch January 12, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants