mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 01:13:10 -06:00
Use named constants
This commit is contained in:
parent
104551ecd0
commit
e5ff5f23df
|
|
@ -128,7 +128,7 @@ func (s *OutputRoomEvent) processMessage(ore api.OutputRoomEvent, ev gomatrixser
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if ore.SendAsServer == "" {
|
if ore.SendAsServer == api.DoNotSendToOtherServers {
|
||||||
// Ignore event that we don't need to send anywhere.
|
// Ignore event that we don't need to send anywhere.
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue