diff --git a/roomserver/storage/shared/storage.go b/roomserver/storage/shared/storage.go index 4e3fc4638..8e787851b 100644 --- a/roomserver/storage/shared/storage.go +++ b/roomserver/storage/shared/storage.go @@ -867,7 +867,7 @@ func (d *Database) GetStateEvent(ctx context.Context, roomID, evType, stateKey s } stateKeyNID, err := d.EventStateKeysTable.SelectEventStateKeyNID(ctx, nil, stateKey) if err == sql.ErrNoRows { - // No rooms a state event with this state key, otherwise we'd have an state key NID + // No rooms have a state event with this state key, otherwise we'd have an state key NID return nil, nil } if err != nil {