Update strategy.py

This commit is contained in:
ZeroN 2023-10-21 01:08:48 +05:00 committed by GitHub
parent 8f1d8af45d
commit cf56fe8021
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@ def apply_strategy(
chat_id: int,
user_id: int,
thread_id: Optional[int] = None,
) -> Tuple[int, int, Optional[int]]:
) -> Tuple[int, Optional[int], Optional[int]]:
if strategy == FSMStrategy.CHAT:
return chat_id, chat_id, None
if strategy == FSMStrategy.GLOBAL_USER: