Skip to content

Commit

Permalink
crypto: fix key share count log
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Nov 21, 2024
1 parent 4cd2bb6 commit 1170825
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ func (mach *OlmMachine) HandleOTKCounts(ctx context.Context, otkCount *mautrix.O
log := mach.Log.With().Str("trace_id", traceID).Logger()
ctx = log.WithContext(ctx)
log.Debug().
Int("keys_left", otkCount.Curve25519).
Int("keys_left", otkCount.SignedCurve25519).
Msg("Sync response said we have less than 50 signed curve25519 keys left, sharing new ones...")
err := mach.ShareKeys(ctx, otkCount.SignedCurve25519)
if err != nil {
Expand Down

0 comments on commit 1170825

Please sign in to comment.