aboutsummaryrefslogtreecommitdiff
path: root/syncapi/routing
diff options
context:
space:
mode:
authorash lea <ashkitten@users.noreply.github.com>2022-11-01 12:42:07 -0400
committerGitHub <noreply@github.com>2022-11-01 16:42:07 +0000
commit5aaa60227a26a87193c339480de4ac7415d282de (patch)
treec34044b6a5be037226c8d9b9c797e93b56cd1014 /syncapi/routing
parent42d7e3ee0de1a410bfdb1c9d58c4f171c33702ea (diff)
return required room_id field in /members (#2846)
### Pull Request Checklist <!-- Please read https://matrix-org.github.io/dendrite/development/contributing before submitting your pull request --> * [ ] I have added tests for PR _or_ I have justified why this PR doesn't need tests. * [x] Pull request includes a [sign off below using a legally identifiable name](https://matrix-org.github.io/dendrite/development/contributing#sign-off) _or_ I have already signed off privately Signed-off-by: `ash lea <example@thisismyactual.email>`
Diffstat (limited to 'syncapi/routing')
-rw-r--r--syncapi/routing/memberships.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syncapi/routing/memberships.go b/syncapi/routing/memberships.go
index 05c7deef..3fcc3235 100644
--- a/syncapi/routing/memberships.go
+++ b/syncapi/routing/memberships.go
@@ -135,6 +135,6 @@ func GetMemberships(
}
return util.JSONResponse{
Code: http.StatusOK,
- JSON: getMembershipResponse{gomatrixserverlib.HeaderedToClientEvents(result, gomatrixserverlib.FormatSync)},
+ JSON: getMembershipResponse{gomatrixserverlib.HeaderedToClientEvents(result, gomatrixserverlib.FormatAll)},
}
}