Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
populate_db: Fix `is_channel_message` incorrectly set to True for DMs.
Prakhar Pratyushce7d07a498e2
diff --git a/zilencer/management/commands/populate_db.py b/zilencer/management/commands/populate_db.pyindex 6b932fd2284..f7f66135824 100644--- a/zilencer/management/commands/populate_db.py+++ b/zilencer/management/commands/populate_db.py@@ -1288,6 +1288,7 @@ def generate_and_send_messages(message.subject = random.choice(possible_topic_names[message.recipient.id])saved_data["subject"] = message.subject+ message.is_channel_message = recipient_type == Recipient.STREAMmessage.date_sent = choose_date_sent(num_messages, tot_messages, options["oldest_message_days"], options["threads"])