Pārlūkot izejas kodu

Update user_manager: fix local

StrayWarrior 4 nedēļas atpakaļ
vecāks
revīzija
8a383bfe46
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      user_manager.py

+ 3 - 0
user_manager.py

@@ -235,6 +235,9 @@ class LocalUserRelationManager(UserRelationManager):
     def get_user_tags(self, user_id: str):
     def get_user_tags(self, user_id: str):
         return []
         return []
 
 
+    def stop_user_daily_push(self, user_id: str) -> bool:
+        return True
+
 class MySQLUserRelationManager(UserRelationManager):
 class MySQLUserRelationManager(UserRelationManager):
     def __init__(self, agent_db_config, wecom_db_config,
     def __init__(self, agent_db_config, wecom_db_config,
                  agent_staff_table, agent_user_table,
                  agent_staff_table, agent_user_table,