소스 검색

fix reference to is_threepid_reserved

Neil Johnson 5 년 전
부모
커밋
e8e540630e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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()