Răsfoiți Sursa

fix reference to is_threepid_reserved

Neil Johnson 5 ani în urmă
părinte
comite
e8e540630e
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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()