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.

digests: Ensure that the teaser_data can be JSON-serialized.

Alex Vandiver438d2aa63232
diff --git a/zerver/lib/digest.py b/zerver/lib/digest.py
index 1392669e488..a6ade5cf690 100644
--- a/zerver/lib/digest.py
+++ b/zerver/lib/digest.py
@@ -65,7 +65,7 @@ class DigestTopic:
self.sample_messages,
)
return {
- "participants": self.human_senders,
+ "participants": sorted(self.human_senders),
"count": teaser_count,
"first_few_messages": first_few_messages,
}