/rooms/{room_id}/members requires authentication

it was just an omission from the spec.
See https://github.com/matrix-org/matrix-doc/pull/1244
This commit is contained in:
Florian Jacob 2018-05-17 19:08:21 +02:00
parent b0199a0489
commit ca99939ca6

View File

@ -113,10 +113,7 @@ pub mod get_member_events {
name: "get_member_events",
path: "/_matrix/client/r0/rooms/:room_id/members",
rate_limited: false,
requires_authentication: false,
// TODO: not marked as requiring auth in the spec, but
// will return a 403 error is user is not a member of the
// room anyway...
requires_authentication: true,
}
request {