mirror of https://github.com/zulip/zulip.git
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:
parent
780dbe72d5
commit
886db27de4
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue