浏览代码

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()