Don't report event rejection errors via /send, since apparently this is upsetting tests that don't expect that

This commit is contained in:
Neil Alexander 2022-01-04 11:51:45 +00:00
parent b028dfc085
commit 368675283f
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -175,7 +175,7 @@ func (r *Inputer) processRoomEvent(
"soft_fail": softfail, "soft_fail": softfail,
"sender": event.Sender(), "sender": event.Sender(),
}).Debug("Stored rejected event") }).Debug("Stored rejected event")
return rejectionErr return nil
} }
switch input.Kind { switch input.Kind {