aboutsummaryrefslogtreecommitdiff
path: root/clientapi/producers
diff options
context:
space:
mode:
authorKegsay <kegan@matrix.org>2020-05-05 15:48:37 +0100
committerGitHub <noreply@github.com>2020-05-05 15:48:37 +0100
commit31d3b0d4a52aa52b05f85069ae3f08f9fc8b64ab (patch)
tree0dbfe18d64d14bc81e424a3afa4e15467a646cbf /clientapi/producers
parent9d15312ef641e871a2958e2f7037c50902dbfcfe (diff)
Prefer /state_ids when missing state across federation (#1008)
* Prefer /state_ids when missing state across federation * Linting * Better logging
Diffstat (limited to 'clientapi/producers')
-rw-r--r--clientapi/producers/roomserver.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/clientapi/producers/roomserver.go b/clientapi/producers/roomserver.go
index a804abfe..7eee83f5 100644
--- a/clientapi/producers/roomserver.go
+++ b/clientapi/producers/roomserver.go
@@ -54,7 +54,7 @@ func (c *RoomserverProducer) SendEvents(
// SendEventWithState writes an event with KindNew to the roomserver input log
// with the state at the event as KindOutlier before it.
func (c *RoomserverProducer) SendEventWithState(
- ctx context.Context, state gomatrixserverlib.RespState, event gomatrixserverlib.HeaderedEvent,
+ ctx context.Context, state *gomatrixserverlib.RespState, event gomatrixserverlib.HeaderedEvent,
) error {
outliers, err := state.Events()
if err != nil {