Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filter users to see only real and local matrix users #269

Open
nebocamin opened this issue Jun 19, 2022 · 7 comments
Open

filter users to see only real and local matrix users #269

nebocamin opened this issue Jun 19, 2022 · 7 comments
Labels
wait for admin API This needs some changes in synapse

Comments

@nebocamin
Copy link

hi, we have a matrix server with enabled bridges and i would like to see only the real matrix users between all those bridge-ghosts. i can search vor signal, whatsapp or telegram, but not for my real "customers". can this enhancement possibly be made? thanks.

@dklimpel
Copy link
Contributor

This is a missing upstream feature at the moment.
matrix-org/synapse#11202

@awesome-michael awesome-michael added the wait for admin API This needs some changes in synapse label Jun 21, 2022
@felixx9
Copy link

felixx9 commented Jul 5, 2022

extending the search functionality by having an exclude term and logical operators would do a decent job, too. Only for this admin GUI, though.

example:

a_search_term & not_in('signal', 'telegram', 'slack', 'whatsapp')

hmmm....

@gabrc52
Copy link

gabrc52 commented Jul 27, 2023

The filtering could be done on the client side, even if it's slower.

@awesome-manuel
Copy link
Member

The search API of synapse currently does not allow "negative" search terms. So we cannot exclude those users in the client.

@gabrc52
Copy link

gabrc52 commented Jul 27, 2023

You can ask the server for a list of everyone and then filter the list the server returns to only include real people

@gabrc52
Copy link

gabrc52 commented Jul 27, 2023

Upstream issue: matrix-org/synapse#11609

@gabrc52
Copy link

gabrc52 commented Aug 17, 2023

You can make their user type into bot and filter all bots: https://matrix-org.github.io/synapse/v1.88/admin_api/user_admin_api.html#list-accounts

But that would necessitate manually adding the bot type initially.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wait for admin API This needs some changes in synapse
Projects
None yet
Development

No branches or pull requests

6 participants