summary refs log tree commit diff
path: root/synapse/rest
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 /synapse/rest
parentEnforce validity period on server_keys for fed requests. (#5321) (diff)
downloadsynapse-b2b90b7d34bf9afc437df6a2e58ab89cfd8ab91f.tar.xz
Hawkowl/fix missing auth (#5328)
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/client/v1/voip.py1
1 files changed, 1 insertions, 0 deletions
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):