Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
markdown: Increase the maximum number of image previews per message.
Alex Vandiver19f891968de5
diff --git a/zerver/lib/markdown/__init__.py b/zerver/lib/markdown/__init__.pyindex 51c04067332..6ba4bcc78a4 100644--- a/zerver/lib/markdown/__init__.py+++ b/zerver/lib/markdown/__init__.py@@ -623,7 +623,7 @@ IMAGE_EXTENSIONS = [".bmp", ".gif", ".jpe", ".jpeg", ".jpg", ".png", ".webp"]class InlineInterestingLinkProcessor(markdown.treeprocessors.Treeprocessor):TWITTER_MAX_IMAGE_HEIGHT = 400TWITTER_MAX_TO_PREVIEW = 3- INLINE_PREVIEW_LIMIT_PER_MESSAGE = 5+ INLINE_PREVIEW_LIMIT_PER_MESSAGE = 10def add_a(self,