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.

docs: Remove some outdated references to thumbnailing.md doc.

Mateusz Mandera2299aa33827f
diff --git a/zerver/lib/markdown/__init__.py b/zerver/lib/markdown/__init__.py
index 3c88ff0f555..2730b7bece7 100644
--- a/zerver/lib/markdown/__init__.py
+++ b/zerver/lib/markdown/__init__.py
@@ -662,8 +662,6 @@ class InlineInterestingLinkProcessor(markdown.treeprocessors.Treeprocessor):
and (not already_thumbnailed)
and user_uploads_or_external(image_url)
):
- # See docs/thumbnailing.md for some high-level documentation.
- #
# We strip leading '/' from relative URLs here to ensure
# consistency in what gets passed to /thumbnail
image_url = image_url.lstrip("/")
diff --git a/zerver/lib/thumbnail.py b/zerver/lib/thumbnail.py
index dfc448098f2..f277f3dac02 100644
--- a/zerver/lib/thumbnail.py
+++ b/zerver/lib/thumbnail.py
@@ -1,4 +1,3 @@
-# See https://zulip.readthedocs.io/en/latest/subsystems/thumbnailing.html
import os
import sys
from urllib.parse import urljoin
diff --git a/zerver/views/thumbnail.py b/zerver/views/thumbnail.py
index a40aa22e4ee..df242703e3e 100644
--- a/zerver/views/thumbnail.py
+++ b/zerver/views/thumbnail.py
@@ -1,4 +1,3 @@
-# See https://zulip.readthedocs.io/en/latest/subsystems/thumbnailing.html
from typing import Optional, Union
from django.contrib.auth.models import AnonymousUser