Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

message_flags: Fix type error.

Anders Kaseorg33b8eabd9f69
diff --git a/zerver/actions/message_flags.py b/zerver/actions/message_flags.py
index c23ac7b3ac2..962091a2db9 100644
--- a/zerver/actions/message_flags.py
+++ b/zerver/actions/message_flags.py
@@ -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,
)