diff --git a/client/src/components/Modals/CardModals/QuoteEmbed.tsx b/client/src/components/Modals/CardModals/QuoteEmbed.tsx index 94e9979..3df95cf 100644 --- a/client/src/components/Modals/CardModals/QuoteEmbed.tsx +++ b/client/src/components/Modals/CardModals/QuoteEmbed.tsx @@ -30,7 +30,6 @@ const QuoteEmbed = ({
- {renderMedia(files)}
{metadataParsed ? )} - {url !== "" && } + {/* {url !== "" && } */} {quoteEvents[0] && quoteEvents.length > 0 && (
- {renderMedia(files)} {repliedTo &&
Reply to: {uniqBy(repliedTo, 'pubkey').map((event, index) => ( diff --git a/client/src/components/Modals/RepostCard.tsx b/client/src/components/Modals/RepostCard.tsx index 645f03e..5a2f418 100644 --- a/client/src/components/Modals/RepostCard.tsx +++ b/client/src/components/Modals/RepostCard.tsx @@ -56,7 +56,6 @@ const RepostCard = ({
- {renderMedia(files)}
{metadata ? { - contentWithoutFiles = contentWithoutFiles.replace(file, ''); - }); + // files.forEach(file => { + // contentWithoutFiles = contentWithoutFiles.replace(file, ''); + // }); return { comment: contentWithoutFiles.trim(), diff --git a/client/src/utils/relays.ts b/client/src/utils/relays.ts index 9634a78..fae432f 100644 --- a/client/src/utils/relays.ts +++ b/client/src/utils/relays.ts @@ -11,7 +11,7 @@ type Subscribe = { unsub?: boolean; }; -const blacklistUrl = ["lain.la", "casualcrypto.date", "files.catbox.moe", "i.ibb.co", "matrix"]; +const blacklistUrl = ["lain.la", "casualcrypto.date", "files.catbox.moe", "i.ibb.co", "matrix", "dump.li", "files.v0l.io"]; const subList: Array = []; const currentSubList: Array = [];