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

chore: cherry-pick MLS 1:1 conversation over SFT to dev [WPB-10120] #18066

Merged
merged 8 commits into from
Sep 23, 2024

Conversation

V-Gira
Copy link
Contributor

@V-Gira V-Gira commented Sep 19, 2024

StoryWPB-10120 [Web] Release MLS capable clients before MLS migration release

Description

This cherry picks the latest changes to MLS 1:1 conversation that couldn't be merged back to dev until now (waiting for a backend config on the release/q1-2024 environments):

Checklist

  • mentions the JIRA issue in the PR name (Ex. WPB-423)
  • PR has been self reviewed by the author;
  • Hard-to-understand areas of the code have been commented;
  • If it is a core feature, unit tests have been added;

@echoes-hq echoes-hq bot added echoes: bugs Technical or functional defects in the product echoes: features End-user visible changes intended to create customer value labels Sep 19, 2024
@codecov-commenter
Copy link

codecov-commenter commented Sep 19, 2024

Codecov Report

Attention: Patch coverage is 30.00000% with 35 lines in your changes missing coverage. Please review.

Project coverage is 51.06%. Comparing base (0b3855a) to head (9031282).
Report is 1 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev   #18066      +/-   ##
==========================================
- Coverage   51.11%   51.06%   -0.06%     
==========================================
  Files         794      794              
  Lines       25529    25561      +32     
  Branches     5835     5842       +7     
==========================================
+ Hits        13050    13052       +2     
- Misses      12103    12134      +31     
+ Partials      376      375       -1     

@V-Gira V-Gira changed the title chore: cherry-pick MLS 1:1 conversation over SFT to dev chore: cherry-pick MLS 1:1 conversation over SFT to dev [WPB-10120] Sep 19, 2024
@echoes-hq echoes-hq bot added the echoes/initiative: federation-wire-cloud Activate Federation with MLS on Wire Cloud label Sep 19, 2024
@V-Gira V-Gira marked this pull request as ready for review September 19, 2024 16:00
@V-Gira V-Gira requested review from otto-the-bot and a team as code owners September 19, 2024 16:00
Comment on lines 1074 to 1084
private readonly leave1on1MLSConference = async (conversationId: QualifiedId) => {
await this.subconversationService.leaveConferenceSubconversation(conversationId);

const conversationIdStr = this.serializeQualifiedId(conversationId);
this.wCall?.end(this.wUser, conversationIdStr);
callingSubscriptions.removeCall(conversationId);
};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is missing countly part ;)

Copy link

sonarcloud bot commented Sep 20, 2024

PatrykBuniX and others added 8 commits September 23, 2024 13:08
* runfix: use mls conference subconversation for 1:1 calls

* chore: feature flag todo

* runfix: add env feature flag

* runfix: remove feature flag

* runfix: conference calls for proteus 1:1 if flag is enabled

* docs: add fixme comment

* chore: set flag to false for the tests to pass

* runfix: use feature flag from backend

* refactor: apply cr suggestions

* runfix: temporarily hardcode sft for 1:1 flag
* fix: handle leaving a 1:1 call over SFT [WPB-7151]

* bump core to the new hotfix version

* compare participant with self participant id istead of relying on position in the array
Co-authored-by: Przemysław Jóźwik <przemyslaw.jozwik96@gmail.com>
Copy link

sonarcloud bot commented Sep 23, 2024

@V-Gira V-Gira merged commit d89b2a9 into dev Sep 23, 2024
13 checks passed
@V-Gira V-Gira deleted the v/cherrypick-release-to-dev branch September 23, 2024 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: calling echoes: bugs Technical or functional defects in the product echoes: features End-user visible changes intended to create customer value echoes/initiative: federation-wire-cloud Activate Federation with MLS on Wire Cloud 👕 size: M type: chore 🧹
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants