mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-07 21:12:20 -04:00
Convert user directory handler and related classes to async/await. (#7640)
This commit is contained in:
parent
09099313e6
commit
737b4a936e
6 changed files with 78 additions and 111 deletions
|
@ -207,8 +207,10 @@ class RegistrationHandler(BaseHandler):
|
|||
|
||||
if self.hs.config.user_directory_search_all_users:
|
||||
profile = yield self.store.get_profileinfo(localpart)
|
||||
yield self.user_directory_handler.handle_local_profile_change(
|
||||
user_id, profile
|
||||
yield defer.ensureDeferred(
|
||||
self.user_directory_handler.handle_local_profile_change(
|
||||
user_id, profile
|
||||
)
|
||||
)
|
||||
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue