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: Fix typo in variable name.

Mateusz Mandera780ef7189104
diff --git a/zerver/lib/export.py b/zerver/lib/export.py
index edf1a9cbdc2..5e06db74897 100644
--- a/zerver/lib/export.py
+++ b/zerver/lib/export.py
@@ -1062,8 +1062,8 @@ def fetch_attachment_data(
values for response['zerver_attachment'][<n>]['messages'].
"""
for row in response["zerver_attachment"]:
- filterer_message_ids = set(row["messages"]).intersection(message_ids)
- row["messages"] = sorted(filterer_message_ids)
+ filtered_message_ids = set(row["messages"]).intersection(message_ids)
+ row["messages"] = sorted(filtered_message_ids)
return attachments