Remove NostrNests from new rendering

This commit is contained in:
Bojan Mojsilovic 2023-09-19 14:38:24 +02:00
parent 32432e84a0
commit 5d1246e46d

View File

@ -8,7 +8,6 @@ import {
isInterpunction,
isMixCloud,
isMp4Video,
isNostrNests,
isNoteMention,
isOggVideo,
isSoundCloud,
@ -208,20 +207,6 @@ const ParsedNote: Component<{
continue;
}
if (isNostrNests(token)) {
setElements(elements.length,
<iframe
src={token}
allow="microphone"
width="480"
height="680"
style="maxHeight: 680"
sandbox="allow-same-origin allow-scripts"
></iframe>
);
continue;
}
if (isWavelake(token)) {
const convertedUrl = token.replace(/(?:player\.|www\.)?wavlake\.com/, "embed.wavlake.com");