mirror of
https://github.com/matrix-org/dendrite
synced 2024-11-18 15:50:52 +01:00
Fix build
This commit is contained in:
parent
51fd532940
commit
de0f427ddc
1 changed files with 1 additions and 1 deletions
|
@ -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