actions: Remove redundant "assert is None" in do_update_message_flags.

The type of messages arg has changed since this was added.
This commit is contained in:
Mateusz Mandera 2020-06-15 22:21:32 +02:00 committed by Tim Abbott
parent f467ab046e
commit eda396376c
1 changed files with 0 additions and 1 deletions

View File

@ -4177,7 +4177,6 @@ def do_update_message_flags(user_profile: UserProfile,
raise JsonableError(_("Flag not editable: '%s'") % (flag,))
flagattr = getattr(UserMessage.flags, flag)
assert messages is not None
msgs = UserMessage.objects.filter(user_profile=user_profile,
message__id__in=messages)
# This next block allows you to star any message, even those you