message_flags: Fix type error.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
(cherry picked from commit 33b8eabd9f)
This commit is contained in:
Anders Kaseorg
2025-09-19 17:56:37 -07:00
committed by Alex Vandiver
parent 1199927a6c
commit 535d9597f7

View File

@@ -38,7 +38,7 @@ def do_mark_all_as_read(user_profile: UserProfile, *, timeout: float | None = No
# First, we clear mobile push notifications. This is safer in the # First, we clear mobile push notifications. This is safer in the
# event that the below logic times out and we're killed. # event that the below logic times out and we're killed.
all_push_message_ids = ( all_push_message_ids = list(
UserMessage.objects.filter( UserMessage.objects.filter(
user_profile=user_profile, user_profile=user_profile,
) )