summary refs log tree commit diff
path: root/synapse/handlers/admin.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-03-23 17:10:32 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-03-23 17:10:32 +0000
commit3b0ce55bf7f43f41a33cefd657dd731f1de7d3c4 (patch)
treeef67907f5bde30eaba755c260353bb6c73d47312 /synapse/handlers/admin.py
parentremove unused room_version_to_event_format (#6857) (diff)
parentAdmin api to add an email address (#6789) (diff)
downloadsynapse-3b0ce55bf7f43f41a33cefd657dd731f1de7d3c4.tar.xz
Admin api to add an email address (#6789)
* commit '56ca93ef5':
  Admin api to add an email address (#6789)
Diffstat (limited to 'synapse/handlers/admin.py')
-rw-r--r--synapse/handlers/admin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/handlers/admin.py b/synapse/handlers/admin.py

index 9205865231..f3c0aeceb6 100644 --- a/synapse/handlers/admin.py +++ b/synapse/handlers/admin.py
@@ -58,8 +58,10 @@ class AdminHandler(BaseHandler): ret = await self.store.get_user_by_id(user.to_string()) if ret: profile = await self.store.get_profileinfo(user.localpart) + threepids = await self.store.user_get_threepids(user.to_string()) ret["displayname"] = profile.display_name ret["avatar_url"] = profile.avatar_url + ret["threepids"] = threepids return ret async def export_user_data(self, user_id, writer):