From 3bb4f87b5dd56882febb4db5621db484c8789b7c Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Tue, 4 Jan 2022 13:00:26 +0000 Subject: [PATCH] Revert "Don't report event rejection errors via `/send`, since apparently this is upsetting tests that don't expect that" This reverts commit 368675283fc44501f227639811bdb16dd5deef8c. --- roomserver/internal/input/input_events.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roomserver/internal/input/input_events.go b/roomserver/internal/input/input_events.go index 21db1145..791f7f30 100644 --- a/roomserver/internal/input/input_events.go +++ b/roomserver/internal/input/input_events.go @@ -175,7 +175,7 @@ func (r *Inputer) processRoomEvent( "soft_fail": softfail, "sender": event.Sender(), }).Debug("Stored rejected event") - return nil + return rejectionErr } switch input.Kind {