Merge pull request #26 from florianjacob/room_members_require_authentication

/rooms/{room_id}/members requires authentication
This commit is contained in:
Jimmy Cuadra 2018-05-17 21:25:46 -07:00 committed by GitHub
commit e314e51d00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,10 +113,7 @@ pub mod get_member_events {
name: "get_member_events", name: "get_member_events",
path: "/_matrix/client/r0/rooms/:room_id/members", path: "/_matrix/client/r0/rooms/:room_id/members",
rate_limited: false, rate_limited: false,
requires_authentication: false, requires_authentication: true,
// 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...
} }
request { request {