Skip to content
Snippets Groups Projects

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

Merged 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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading