summary refs log tree commit diff
path: root/synapse/handlers/account.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/handlers/account.py')
-rw-r--r--synapse/handlers/account.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/account.py b/synapse/handlers/account.py
index c05a14304c..fa043cca86 100644
--- a/synapse/handlers/account.py
+++ b/synapse/handlers/account.py
@@ -102,7 +102,7 @@ class AccountHandler:
         """
         status = {"exists": False}
 
-        userinfo = await self._main_store.get_userinfo_by_id(user_id.to_string())
+        userinfo = await self._main_store.get_user_by_id(user_id.to_string())
 
         if userinfo is not None:
             status = {