mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 19:44:53 -04:00
Add search
This commit is contained in:
parent
b5db4ed5f6
commit
3b5f22ca40
2 changed files with 38 additions and 0 deletions
|
@ -40,6 +40,9 @@ class UserDirectoyHandler(object):
|
|||
|
||||
self.clock.call_later(0, self.notify_new_event)
|
||||
|
||||
def search_users(self, search_term, limit):
|
||||
return self.store.search_user_dir(search_term, limit)
|
||||
|
||||
@defer.inlineCallbacks
|
||||
def notify_new_event(self):
|
||||
if self._is_processing:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue