message_flags: Fix type error.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2025-09-19 17:56:37 -07:00
committed by Tim Abbott
parent 3ba68e7847
commit 33b8eabd9f

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
# event that the below logic times out and we're killed.
all_push_message_ids = (
all_push_message_ids = list(
UserMessage.objects.filter(
user_profile=user_profile,
)