From 796cf8e5fdbbfe54a9c5687e33d999ecfa9de585 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 23 May 2017 15:45:56 -0700 Subject: [PATCH] mypy: Fix a buggy annotation in create_mirrored_message_users. --- zerver/views/messages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/views/messages.py b/zerver/views/messages.py index 38d6ac6a35..2a6a2882df 100644 --- a/zerver/views/messages.py +++ b/zerver/views/messages.py @@ -772,7 +772,7 @@ def update_message_flags(request, user_profile, 'msg': ''}) def create_mirrored_message_users(request, user_profile, recipients): - # type: (HttpResponse, UserProfile, Iterable[Text]) -> Tuple[bool, Optional[UserProfile]] + # type: (HttpRequest, UserProfile, Iterable[Text]) -> Tuple[bool, Optional[UserProfile]] if "sender" not in request.POST: return (False, None)