Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
integrations/xkcd: Remove redundant logo image.
Niloth Pb7ab39873add
diff --git a/static/images/integrations/logos/xkcd.png b/static/images/integrations/logos/xkcd.pngdeleted file mode 100644index 39fde018667..00000000000Binary files a/static/images/integrations/logos/xkcd.png and /dev/null differdiff --git a/zerver/lib/integrations.py b/zerver/lib/integrations.pyindex 97f3999974b..388ac181407 100644--- a/zerver/lib/integrations.py+++ b/zerver/lib/integrations.py@@ -274,7 +274,9 @@ class BotIntegration(Integration):self.logo_url = self.get_logo_url()if self.logo_url is None:# TODO: Add a test for this by initializing one in a test.- logo = staticfiles_storage.url(self.ZULIP_LOGO_STATIC_PATH_PNG) # nocoverage+ self.logo_url = staticfiles_storage.url(+ self.ZULIP_LOGO_STATIC_PATH_PNG+ ) # nocoverageelse:self.logo_url = staticfiles_storage.url(logo)@@ -1068,12 +1070,7 @@ PYTHON_API_INTEGRATIONS: list[PythonAPIIntegration] = [BOT_INTEGRATIONS: list[BotIntegration] = [BotIntegration("github_detail", ["version-control", "bots"], display_name="GitHub Detail"),- BotIntegration(- "xkcd",- ["bots", "entertainment"],- display_name="xkcd",- logo="images/integrations/logos/xkcd.png",- ),+ BotIntegration("xkcd", ["bots", "entertainment"], display_name="xkcd"),]HUBOT_INTEGRATIONS: list[HubotIntegration] = [