mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-10 16:33:11 -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
|
||||
}
|
||||
|
||||
if ore.SendAsServer == "" {
|
||||
if ore.SendAsServer == api.DoNotSendToOtherServers {
|
||||
// Ignore event that we don't need to send anywhere.
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue