mirror of https://github.com/zulip/zulip.git
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:
parent
f467ab046e
commit
eda396376c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue