From ca99939ca632e8fcf022573d3641a2ca8ba3d01f Mon Sep 17 00:00:00 2001 From: Florian Jacob Date: Thu, 17 May 2018 19:08:21 +0200 Subject: [PATCH] /rooms/{room_id}/members requires authentication it was just an omission from the spec. See https://github.com/matrix-org/matrix-doc/pull/1244 --- src/r0/sync.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/r0/sync.rs b/src/r0/sync.rs index 7a45c35b..b387b41a 100644 --- a/src/r0/sync.rs +++ b/src/r0/sync.rs @@ -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 {