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.

import: Check off old, redundant TODO about huddle import.

Mateusz Manderac0bf67d6daeb
diff --git a/zerver/lib/import_realm.py b/zerver/lib/import_realm.py
index e2c3c1aa837..dbc9e9cde07 100644
--- a/zerver/lib/import_realm.py
+++ b/zerver/lib/import_realm.py
@@ -1204,7 +1204,8 @@ def do_import_realm(import_dir: Path, subdomain: str, processes: int = 1) -> Rea
# We don't import Huddle yet, since we don't have the data to
# compute huddle hashes until we've imported some of the
# tables below.
- # TODO: double-check this.
+ # We can't get huddle hashes without processing subscriptions
+ # first, during which get_huddles_from_subscription is called.
re_map_foreign_keys(
data,