Use protopiler for protocol buffers

Co-authored-by: Jamie Kyle <jamie@signal.org>
This commit is contained in:
Fedor Indutny
2026-03-10 15:31:29 -07:00
committed by GitHub
parent b0e19f334e
commit c4ee32e9ee
97 changed files with 6197 additions and 6362 deletions

View File

@@ -81,7 +81,7 @@ export function shouldPreviewHref(href: string): boolean {
export function isValidLinkPreview(
urlsInBody: Array<string>,
preview: LinkPreviewType | Backups.ILinkPreview,
preview: LinkPreviewType | Backups.LinkPreview.Params,
{ isStory }: { isStory: boolean }
): boolean {
const { url } = preview;