summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2016-08-24 12:34:03 +0100
committerPaul "LeoNerd" Evans <paul@matrix.org>2016-08-24 12:34:03 +0100
commit965f33c9018c80a6afce1eb58b5a8ef442108fc3 (patch)
treee1effed5f2ca1793674cf9483be42e835311bb59 /synapse
parentInitial hack at the 3PN protocols metadata lookup API (diff)
downloadsynapse-965f33c9018c80a6afce1eb58b5a8ef442108fc3.tar.xz
Declare 'gitter' known protocol, with user lookup
Diffstat (limited to 'synapse')
-rw-r--r--synapse/rest/client/v2_alpha/thirdparty.py3
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):