mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-19 16:08:34 +01:00
Use protopiler for protocol buffers
Co-authored-by: Jamie Kyle <jamie@signal.org>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user