mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
verificationhelper: Add missing verification txns unlock
This commit is contained in:
parent
6032adb113
commit
166ba04aae
1 changed files with 1 additions and 0 deletions
|
|
@ -188,6 +188,7 @@ func (vh *VerificationHelper) Init(ctx context.Context) error {
|
|||
txn, err := vh.store.GetVerificationTransaction(ctx, transactionID)
|
||||
if err != nil && errors.Is(err, ErrUnknownVerificationTransaction) {
|
||||
log.Err(err).Msg("failed to get verification transaction")
|
||||
vh.activeTransactionsLock.Unlock()
|
||||
return
|
||||
} else if errors.Is(err, ErrUnknownVerificationTransaction) {
|
||||
// If it's a cancellation event for an unknown transaction, we
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue