Add user_directory_include_pattern config param to expand search results to additional users
Initial commit; this doesn't work yet - the LIKE filtering seems too aggressive. It also needs _do_initial_spam to be aware of prepopulating the whole user_directory_search table with all users... ...and it needs a handle_user_signup() or something to be added so that new signups get incrementally added to the table too. Committing it here as a WIP
Showing
- synapse/config/homeserver.py 2 additions, 1 deletionsynapse/config/homeserver.py
- synapse/config/user_directory.py 40 additions, 0 deletionssynapse/config/user_directory.py
- synapse/handlers/user_directory.py 2 additions, 2 deletionssynapse/handlers/user_directory.py
- synapse/server.py 2 additions, 2 deletionssynapse/server.py
- synapse/storage/user_directory.py 12 additions, 4 deletionssynapse/storage/user_directory.py
Loading
Please register or sign in to comment