From f2332d242aeb079e77396bd6bd8c5d7f2a629b7e Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Mon, 27 Aug 2018 18:58:16 -0600 Subject: [PATCH] Add some SHOULDs and MUSTs to the user directory requirements --- api/client-server/users.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/api/client-server/users.yaml b/api/client-server/users.yaml index 619263ff..8a60a7bc 100644 --- a/api/client-server/users.yaml +++ b/api/client-server/users.yaml @@ -33,8 +33,10 @@ paths: description: |- Performs a search for users on the homeserver. The homeserver may determine which subset of users are searched, however the homeserver - is encouraged to only consider users the requesting user shares a - room with and those who reside in public rooms. + MUST at a minimum consider the users the requesting user shares a + room with and those who reside in public rooms (known to the homeserver). + The search MUST consider local users to the homeserver, and SHOULD + query remote users as part of the search. The search is performed case-insensitively on user IDs and display names preferably using a collation determined based upon the