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) h, err = t.lookupEvent(ctx, roomVersion, missingEventID, false)
switch err.(type) { switch err.(type) {
case verifySigError: case verifySigError:
break return
case nil: case nil:
break break
default: default: