Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make optional params from 2946 optionals
Add the `omitempty` annotation to `MSC2946SpacesRequest.ExcludeRooms` and `MSC2946SpacesRequest.MaxRoomsPerSpace` as MSC2946 states these are optional parameters (and keeping them around with their zero value might lead to type errors when interacting with other homeservers). See matrix-org/synapse#10056 for more context.
- Loading branch information