Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
hubot-integrations: Remove the unused logo_alt property.
Niloth Pe7f4d16863ca
diff --git a/zerver/lib/integrations.py b/zerver/lib/integrations.pyindex becf0ec6e1b..515a6e37ef6 100644--- a/zerver/lib/integrations.py+++ b/zerver/lib/integrations.py@@ -298,14 +298,9 @@ class HubotIntegration(Integration):categories: list[str],display_name: str | None = None,logo: str | None = None,- logo_alt: str | None = None,git_url: str | None = None,legacy: bool = False,) -> None:- if logo_alt is None:- logo_alt = f"{name.title()} logo"- self.logo_alt = logo_alt-if git_url is None:git_url = self.GIT_URL_TEMPLATE.format(name)self.hubot_docs_url = git_url@@ -629,14 +624,10 @@ BOT_INTEGRATIONS: list[BotIntegration] = []HUBOT_INTEGRATIONS: list[HubotIntegration] = [- HubotIntegration(- "assembla",- ["version-control", "project-management"],- logo_alt="Assembla",- ),+ HubotIntegration("assembla", ["version-control", "project-management"]),HubotIntegration("bonusly", ["hr"]),HubotIntegration("chartbeat", ["marketing"]),- HubotIntegration("darksky", ["misc"], display_name="Dark Sky", logo_alt="Dark Sky logo"),+ HubotIntegration("darksky", ["misc"], display_name="Dark Sky"),HubotIntegration("instagram",["misc"],@@ -644,12 +635,7 @@ HUBOT_INTEGRATIONS: list[HubotIntegration] = [logo="images/integrations/logos/instagra_m.svg",),HubotIntegration("mailchimp", ["communication", "marketing"]),- HubotIntegration(- "google-translate",- ["misc"],- display_name="Google Translate",- logo_alt="Google Translate logo",- ),+ HubotIntegration("google-translate", ["misc"], display_name="Google Translate"),HubotIntegration("youtube",["misc"],