diff --git a/zerver/lib/actions.py b/zerver/lib/actions.py index 192608a241..6fcd3183b0 100644 --- a/zerver/lib/actions.py +++ b/zerver/lib/actions.py @@ -3619,7 +3619,7 @@ def do_update_message_flags(user_profile: UserProfile, client: Client, operation: str, flag: str, - messages: Optional[Sequence[int]]) -> int: + messages: List[int]) -> int: flagattr = getattr(UserMessage.flags, flag) assert messages is not None