1
0

Filter the results of user directory searching via the spam checker (#6888)

* commit '49f877d32':
  Filter the results of user directory searching via the spam checker (#6888)
This commit is contained in:
Andrew Morgan
2020-03-23 17:38:09 +00:00
6 changed files with 136 additions and 3 deletions

View File

@@ -54,6 +54,9 @@ class ExampleSpamChecker:
def user_may_publish_room(self, userid, room_id):
return True # allow publishing of all rooms
def check_username_for_spam(self, user_profile):
return False # allow all usernames
```
## Configuration