mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 22:35:52 +01:00
verificationhelper: don't move state to done until both devices have sent the done event
Signed-off-by: Sumner Evans <sumner.evans@automattic.com>
This commit is contained in:
parent
3bb4648c01
commit
2e50f99e52
1 changed files with 1 additions and 1 deletions
|
|
@ -755,9 +755,9 @@ func (vh *VerificationHelper) onVerificationDone(ctx context.Context, txn *verif
|
|||
return
|
||||
}
|
||||
|
||||
txn.VerificationState = verificationStateDone
|
||||
txn.ReceivedTheirDone = true
|
||||
if txn.SentOurDone {
|
||||
txn.VerificationState = verificationStateDone
|
||||
vh.verificationDone(ctx, txn.TransactionID)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue