Update roomserver/internal/input/input_events.go

Co-authored-by: kegsay <kegan@matrix.org>
This commit is contained in:
Till 2023-03-03 13:29:33 +01:00 committed by GitHub
parent 7ccd382c89
commit 8b7cca649c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -385,6 +385,7 @@ func (r *Inputer) processRoomEvent(
}
// if storing this event results in it being redacted then do so.
// we do this after calculating state for this event as we may need to get power levels
var (
redactedEventID string
redactionEvent *gomatrixserverlib.Event