Skip to content

Commit

Permalink
Merge pull request #8541 from abaker/fix_fallback_key_sharing_strategy
Browse files Browse the repository at this point in the history
Fix fallbackKeySharingStrategy
  • Loading branch information
bmarty authored Jun 16, 2023
2 parents 710d21f + 572bdb6 commit 4af2f70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/8541.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix crypto config fallback key sharing strategy
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ object ConfigurationModule {
fun providesCryptoConfig() = CryptoConfig(
fallbackKeySharingStrategy = when (Config.KEY_SHARING_STRATEGY) {
KeySharingStrategy.WhenSendingEvent -> OutboundSessionKeySharingStrategy.WhenSendingEvent
KeySharingStrategy.WhenEnteringRoom -> OutboundSessionKeySharingStrategy.WhenSendingEvent
KeySharingStrategy.WhenTyping -> OutboundSessionKeySharingStrategy.WhenSendingEvent
KeySharingStrategy.WhenEnteringRoom -> OutboundSessionKeySharingStrategy.WhenEnteringRoom
KeySharingStrategy.WhenTyping -> OutboundSessionKeySharingStrategy.WhenTyping
}
)

Expand Down

0 comments on commit 4af2f70

Please sign in to comment.