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.

minor: Remove unnecessary `__init__` method in `InlineInterestingLinkProcessor`.

akshatdalton832c763c38ad
diff --git a/zerver/lib/markdown/__init__.py b/zerver/lib/markdown/__init__.py
index 89206870737..75760bc6cfd 100644
--- a/zerver/lib/markdown/__init__.py
+++ b/zerver/lib/markdown/__init__.py
@@ -616,9 +616,6 @@ class InlineInterestingLinkProcessor(markdown.treeprocessors.Treeprocessor):
TWITTER_MAX_TO_PREVIEW = 3
INLINE_PREVIEW_LIMIT_PER_MESSAGE = 5
- def __init__(self, md: markdown.Markdown) -> None:
- markdown.treeprocessors.Treeprocessor.__init__(self, md)
-
def add_a(
self,
root: Element,