Skip to content

Hide users from user directory if they are only in private rooms and they don't share a room

Radek Stępień requested to merge Zeerooth/conduit:filter-users into next

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 ran cargo fmt and cargo test
  • I agree to release my code and all other changes of this MR under the Apache-2.0 license

Merge request reports