diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2016-08-24 12:34:03 +0100 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2016-08-24 12:34:03 +0100 |
commit | 965f33c9018c80a6afce1eb58b5a8ef442108fc3 (patch) | |
tree | e1effed5f2ca1793674cf9483be42e835311bb59 /synapse/rest/client/v2_alpha/thirdparty.py | |
parent | Initial hack at the 3PN protocols metadata lookup API (diff) | |
download | synapse-965f33c9018c80a6afce1eb58b5a8ef442108fc3.tar.xz |
Declare 'gitter' known protocol, with user lookup
Diffstat (limited to 'synapse/rest/client/v2_alpha/thirdparty.py')
-rw-r--r-- | synapse/rest/client/v2_alpha/thirdparty.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/rest/client/v2_alpha/thirdparty.py b/synapse/rest/client/v2_alpha/thirdparty.py index 2decadb001..ae7901551b 100644 --- a/synapse/rest/client/v2_alpha/thirdparty.py +++ b/synapse/rest/client/v2_alpha/thirdparty.py @@ -30,6 +30,9 @@ class ThirdPartyProtocolsServlet(RestServlet): META = { # TODO(paul): Declare kinds of metadata in here + "gitter": { + "user_fields": ["username"], + } } def __init__(self, hs): |