This commit is contained in:
smolgrrr 2024-09-07 10:14:23 +10:00
parent 89f2aa6699
commit baa320b795
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ import LinkModal from "./LinkPreview";
import { EventPointer } from "nostr-tools/lib/types/nip19";
const RichText = ({ text, isExpanded, emojiMap }: { text: string; isExpanded: boolean; emojiMap: Record<string, any> }) => {
let content = isExpanded ? text.split('\n') : text.slice(0, 350).split('\n');
let content = isExpanded ? text.split('\n') : text.slice(0, 750).split('\n');
return (
<>

View File

@ -88,7 +88,7 @@ const RenderMedia = ({ files }: { files: string[] }) => {
if (mediaCheckResult && (mediaCheckResult.nsfwLabel !== 'neutral')) {
return (
<div>
<p className="text-center text-red-500 text-xs">Attached media has been flagged as not safe for work or contains gore.</p>
<p className="text-center text-red-500 text-xs">This Wired instance blocks NSFW media.</p>
</div>
);
}