mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-22 14:21:55 -06:00
Fix build
This commit is contained in:
parent
51fd532940
commit
de0f427ddc
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue