Update output event check

This commit is contained in:
Neil Alexander 2020-09-09 11:20:28 +01:00
parent 3bc10f9674
commit 29d8da614b
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -114,7 +114,7 @@ func (r *Inputer) processRoomEvent(
event, // event event, // event
input.SendAsServer, // send as server input.SendAsServer, // send as server
input.TransactionID, // transaction ID input.TransactionID, // transaction ID
input.Kind == api.KindNew, // should we send output events? input.Kind != api.KindRewrite, // should we send output events?
); err != nil { ); err != nil {
return "", fmt.Errorf("r.updateLatestEvents: %w", err) return "", fmt.Errorf("r.updateLatestEvents: %w", err)
} }