Skip to content

Commit

Permalink
bridge/crypto: add ShareKeys function to CryptoHelper
Browse files Browse the repository at this point in the history
Signed-off-by: Sumner Evans <sumner@beeper.com>
  • Loading branch information
sumnerevans committed Aug 3, 2023
1 parent ff77fa8 commit f15a0e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bridge/crypto.go
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,10 @@ func (helper *CryptoHelper) HandleMemberEvent(evt *event.Event) {
helper.mach.HandleMemberEvent(0, evt)
}

func (helper *CryptoHelper) ShareKeys(ctx context.Context) error {
return helper.mach.ShareKeys(ctx, 0)
}

type cryptoSyncer struct {
*crypto.OlmMachine
}
Expand Down

0 comments on commit f15a0e9

Please sign in to comment.