mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
unread_msgs: Fix nondeterminstic ordering of unread_msgs IDs.
This should make this test flake impossible: https://travis-ci.org/zulip/zulip/jobs/259439642#L1990
This commit is contained in:
@@ -391,7 +391,7 @@ def get_unread_message_ids_per_recipient(user_profile):
|
||||
'message__recipient__type',
|
||||
'message__recipient__type_id',
|
||||
'flags',
|
||||
)
|
||||
).order_by("message_id")
|
||||
|
||||
rows = list(user_msgs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user