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.

integrations: Hide all Hubot integrations from the catalog.

Niloth P8862d54f59ba
diff --git a/zerver/lib/integrations.py b/zerver/lib/integrations.py
index 0d1efc209af..34ae37ba29a 100644
--- a/zerver/lib/integrations.py
+++ b/zerver/lib/integrations.py
@@ -434,7 +434,10 @@ class HubotIntegration(Integration):
display_name: str | None = None,
logo: str | None = None,
git_url: str | None = None,
- legacy: bool = False,
+ # Hide all integrations available via Hubot from the catalog until
+ # the Hubot integration (https://github.com/zulip/hubot-zulip)
+ # becomes functional again.
+ legacy: bool = True,
) -> None:
if git_url is None:
git_url = self.GIT_URL_TEMPLATE.format(name)