Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
export: Include huddles subscription from mirrordummy users.
Alex Vandivercfda414277aa
diff --git a/zerver/lib/export.py b/zerver/lib/export.pyindex 385aaaaa6d3..695f663aed8 100644--- a/zerver/lib/export.py+++ b/zerver/lib/export.py@@ -1101,7 +1101,9 @@ def fetch_reaction_data(response: TableData, message_ids: Set[int]) -> None:def custom_fetch_huddle_objects(response: TableData, context: Context) -> None:realm = context["realm"]- user_profile_ids = {r["id"] for r in response["zerver_userprofile"]}+ user_profile_ids = {+ r["id"] for r in response["zerver_userprofile"] + response["zerver_userprofile_mirrordummy"]+ }# First we get all huddles involving someone in the realm.realm_huddle_subs = Subscription.objects.select_related("recipient").filter(