mirror of https://github.com/zulip/zulip.git
mypy: Fix a buggy annotation in create_mirrored_message_users.
This commit is contained in:
parent
40b3330f2c
commit
796cf8e5fd
|
@ -772,7 +772,7 @@ def update_message_flags(request, user_profile,
|
||||||
'msg': ''})
|
'msg': ''})
|
||||||
|
|
||||||
def create_mirrored_message_users(request, user_profile, recipients):
|
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:
|
if "sender" not in request.POST:
|
||||||
return (False, None)
|
return (False, None)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue