Accept HasState in all cases

This commit is contained in:
Neil Alexander 2022-01-31 13:08:26 +00:00
parent a72f687b95
commit b478ed869d
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -472,7 +472,7 @@ func (r *Inputer) calculateAndSetState(
var err error
roomState := state.NewStateResolution(r.DB, roomInfo)
if input.HasState && !isRejected {
if input.HasState {
// Check here if we think we're in the room already.
stateAtEvent.Overwrite = true
var joinEventNIDs []types.EventNID