aboutsummaryrefslogtreecommitdiff
path: root/federationsender
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 /federationsender
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 'federationsender')
-rw-r--r--federationsender/internal/perform.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/federationsender/internal/perform.go b/federationsender/internal/perform.go
index 6aea296b..0c9dd257 100644
--- a/federationsender/internal/perform.go
+++ b/federationsender/internal/perform.go
@@ -232,7 +232,7 @@ func (r *FederationSenderInternalAPI) performJoinUsingServer(
// If we successfully performed a send_join above then the other
// server now thinks we're a part of the room. Send the newly
// returned state to the roomserver to update our local view.
- if err = roomserverAPI.SendEventWithRewrite(
+ if err = roomserverAPI.SendEventWithState(
ctx, r.rsAPI,
respState,
event.Headered(respMakeJoin.RoomVersion),