aboutsummaryrefslogtreecommitdiff
path: root/federationsender
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-07-07 16:54:14 +0100
committerNeil Alexander <neilalexander@users.noreply.github.com>2020-07-07 16:54:14 +0100
commitde0f427ddc1053e8c5eb9203c0ad0b5589895cd8 (patch)
tree37427597d83cbcf5ba223cc6fe64eeff325d7e6e /federationsender
parent51fd53294091bcfc45d42dad24cb24e7b24fbd72 (diff)
Fix build
Diffstat (limited to 'federationsender')
-rw-r--r--federationsender/queue/destinationqueue.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/federationsender/queue/destinationqueue.go b/federationsender/queue/destinationqueue.go
index 2e5916e8..d9d53188 100644
--- a/federationsender/queue/destinationqueue.go
+++ b/federationsender/queue/destinationqueue.go
@@ -382,7 +382,7 @@ func (oq *destinationQueue) nextTransaction(
// since we shouldn't queue things indefinitely in response
// to a 400-ish error
_, err = oq.client.SendTransaction(context.TODO(), t)
- switch e := err.(type) {
+ switch err.(type) {
case nil:
// No error was returned so the transaction looks to have
// been successfully sent.