Explorar el Código

fix reference to is_threepid_reserved

Neil Johnson hace 5 años
padre
commit
e8e540630e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      synapse/api/auth.py

+ 1 - 1
synapse/api/auth.py

@@ -809,7 +809,7 @@ class Auth(object):
             elif threepid:
                 # If the user does not exist yet, but is signing up with a
                 # reserved threepid then pass auth check
-                if is_threepid_reserved(threepid):
+                if self.store.is_threepid_reserved(threepid):
                     return
             # Else if there is no room in the MAU bucket, bail
             current_mau = yield self.store.get_monthly_active_count()