mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
message_flags: Fix type error.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
3ba68e7847
commit
33b8eabd9f
@@ -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,
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user