summary refs log tree commit diff
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2019-06-04 15:54:27 +1000
committerGitHub <noreply@github.com>2019-06-04 15:54:27 +1000
commitb2b90b7d34bf9afc437df6a2e58ab89cfd8ab91f (patch)
treec3536812c68c45a07669843f4830fbf83c77b668
parentEnforce validity period on server_keys for fed requests. (#5321) (diff)
downloadsynapse-b2b90b7d34bf9afc437df6a2e58ab89cfd8ab91f.tar.xz
Hawkowl/fix missing auth (#5328)
-rw-r--r--changelog.d/5328.misc1
-rw-r--r--synapse/rest/client/v1/voip.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/5328.misc b/changelog.d/5328.misc
new file mode 100644
index 0000000000..e1b9dc58a3
--- /dev/null
+++ b/changelog.d/5328.misc
@@ -0,0 +1 @@
+The base classes for the v1 and v2_alpha REST APIs have been unified.
diff --git a/synapse/rest/client/v1/voip.py b/synapse/rest/client/v1/voip.py
index 0975df84cf..6381049210 100644
--- a/synapse/rest/client/v1/voip.py
+++ b/synapse/rest/client/v1/voip.py
@@ -29,6 +29,7 @@ class VoipRestServlet(RestServlet):
     def __init__(self, hs):
         super(VoipRestServlet, self).__init__()
         self.hs = hs
+        self.auth = hs.get_auth()
 
     @defer.inlineCallbacks
     def on_GET(self, request):