0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-18 15:50:52 +01:00

Fix build

This commit is contained in:
Neil Alexander 2020-07-07 16:54:14 +01:00
parent 51fd532940
commit de0f427ddc

View file

@ -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.