Allow edits which just remove the quote
This commit is contained in:
parent
96a2d05906
commit
855b1c03b0
8 changed files with 18 additions and 25 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue