Live video on the AT Protocol

fix: revert change to intl.segmenter

didn't work on react native, unfortunately

+2 -2
+2 -2
js/components/src/components/chat/chat-box.tsx
··· 65 65 new Map(), 66 66 ); 67 67 const [filteredEmojis, setFilteredEmojis] = useState<any[]>([]); 68 - const isOverLimit = [...new Intl.Segmenter().segment(message)].length > 300; 68 + const isOverLimit = [...message].length > 300; 69 69 70 70 let linfo = useLivestream(); 71 71 ··· 256 256 257 257 const submit = async () => { 258 258 if (!message.trim()) return; 259 - if ([...new Intl.Segmenter().segment(message)].length > 300) { 259 + if ([...message].length > 300) { 260 260 toast.show( 261 261 "Message too long", 262 262 "Please limit your message to 300 characters.",