Resolves #24 (closed)
This MR adds a new filter in
search_users_route based on whether the user from
user_directory shares a common room with the sender or is present in any public rooms.
This applies only to local users because (as far as I'm aware), private users shouldn't be shared across the federation.
I agree to release my code and all other changes of this MR under the Apache-2.0 license