aboutsummaryrefslogtreecommitdiff
path: root/roomserver/internal
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2020-10-06 11:05:00 +0100
committerGitHub <noreply@github.com>2020-10-06 11:05:00 +0100
commitbf90db5b60d694d8af0e8ec1d90d2501604ab219 (patch)
tree610aaeae9455bb40fddfef437e385528fd934e2a /roomserver/internal
parent8fb74fe99a968aa438d436bd251baf5a790e8156 (diff)
Remove KindRewrite (#1481)
* Don't send rewrite events * Remove final traces of rewrite events * Remove test that is no longer needed * Revert "Remove test that is no longer needed" This reverts commit 9a45babff690480acd656a52f2c2950a5f7e9ada. * Update test to use KindOutlier
Diffstat (limited to 'roomserver/internal')
-rw-r--r--roomserver/internal/input/input_events.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/roomserver/internal/input/input_events.go b/roomserver/internal/input/input_events.go
index 3d44f048..810d8cda 100644
--- a/roomserver/internal/input/input_events.go
+++ b/roomserver/internal/input/input_events.go
@@ -136,15 +136,6 @@ func (r *Inputer) processRoomEvent(
return event.EventID(), rejectionErr
}
- if input.Kind == api.KindRewrite {
- logrus.WithFields(logrus.Fields{
- "event_id": event.EventID(),
- "type": event.Type(),
- "room": event.RoomID(),
- }).Debug("Stored rewrite")
- return event.EventID(), nil
- }
-
if err = r.updateLatestEvents(
ctx, // context
roomInfo, // room info for the room being updated