mirror of
https://github.com/PrimalHQ/primal-web-app.git
synced 2024-09-30 00:41:09 +00:00
Remove NostrNests from new rendering
This commit is contained in:
parent
32432e84a0
commit
5d1246e46d
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user