-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: establish 1on1 mls conversation with new removal key [WPB-10744] (
#6502) * feat: establish 1on1 mls conversation with new removal key [10744] * remove federated SFT 1:1 call temporary fix * type data structure for 1:1 MLS conversations * remove public_keys from NewConversation type * use nullish coalescing instead of ternary for removalKey logic * implement typeguard for the specific MLS1to1Conversation response * use union types for api-client getMLS1to1Conversation return value * use type guard and return MLS1to1Conversation for getMLS1to1Conversation in core * address tests * Update packages/api-client/src/conversation/Conversation.ts Co-authored-by: Przemysław Jóźwik <[email protected]> * rename variable in type guard * Update packages/core/src/conversation/ConversationService/ConversationService.ts Co-authored-by: Immad Abdul Jabbar <[email protected]> * address CR issue * simplify typeguard's logic * address CR --------- Co-authored-by: Przemysław Jóźwik <[email protected]> Co-authored-by: Immad Abdul Jabbar <[email protected]>
- Loading branch information
1 parent
d279165
commit 55db2a1
Showing
6 changed files
with
45 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters