Fix panic on verifySigError in fetching missing events

This commit is contained in:
Neil Alexander 2020-09-30 13:51:54 +01:00
parent beaf4cc00f
commit 135b5e264f
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

View File

@ -872,7 +872,7 @@ func (t *txnReq) lookupMissingStateViaStateIDs(ctx context.Context, roomID, even
h, err = t.lookupEvent(ctx, roomVersion, missingEventID, false)
switch err.(type) {
case verifySigError:
break
return
case nil:
break
default: