Browse Source

fix reference to is_threepid_reserved

Neil Johnson 5 years ago
parent
commit
e8e540630e
1 changed files with 1 additions and 1 deletions
  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()