Allow edits which just remove the quote

Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
automated-signal 2024-09-21 12:31:12 -05:00 committed by GitHub
parent dfaabd08cb
commit 469c08a906
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 18 additions and 25 deletions

View file

@ -1,6 +1,11 @@
// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import { isValidLink } from '../types/LinkPreview';
export function openLinkInWebBrowser(url: string): void {
if (!isValidLink(url)) {
return;
}
window.location.href = url;
}