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.

export-search: Non-time-limited is fine with a sender.

Alex Vandiver21db2672028f
diff --git a/zerver/management/commands/export_search.py b/zerver/management/commands/export_search.py
index edaa45c1db7..ba189e5439d 100644
--- a/zerver/management/commands/export_search.py
+++ b/zerver/management/commands/export_search.py
@@ -77,7 +77,7 @@ This is most often used for legal compliance.
terms.update(f.read().splitlines())
terms.update(options["search_terms"])
- if not terms and not options["before"] and not options["after"]:
+ if not terms and not options["before"] and not options["after"] and not options["sender"]:
raise CommandError("One or more limits are required!")
if os.path.exists(options["output"]) and not options["force"]: