aboutsummaryrefslogtreecommitdiff
path: root/federationapi/routing
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-09-30 13:51:54 +0100
committerNeil Alexander <neilalexander@users.noreply.github.com>2020-09-30 13:51:54 +0100
commit135b5e264f1e183994ca0ddca21574d2b2081bba (patch)
treea993abaaf16cb964bd855d468f2a67e578637f51 /federationapi/routing
parentbeaf4cc00f6f198202742693cef40d71ed0b255e (diff)
Fix panic on verifySigError in fetching missing events
Diffstat (limited to 'federationapi/routing')
-rw-r--r--federationapi/routing/send.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/federationapi/routing/send.go b/federationapi/routing/send.go
index f8b8bcd6..d4bbe31c 100644
--- a/federationapi/routing/send.go
+++ b/federationapi/routing/send.go
@@ -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: