diff --git a/src/components/Chat/GroupAnnouncements.tsx b/src/components/Chat/GroupAnnouncements.tsx index 192114b..cdcd5db 100644 --- a/src/components/Chat/GroupAnnouncements.tsx +++ b/src/components/Chat/GroupAnnouncements.tsx @@ -109,7 +109,8 @@ export const handleUnencryptedPublishes = (publishes) => { let publishesData = [] publishes.forEach((pub)=> { try { - const decodedData = JSON.parse(atob(pub)) + const decryptToUnit8Array = base64ToUint8Array(pub); + const decodedData = uint8ArrayToObject(decryptToUnit8Array); if(decodedData){ publishesData.push({decryptedData: decodedData}) } diff --git a/src/components/Embeds/VideoPlayer.tsx b/src/components/Embeds/VideoPlayer.tsx index aa20573..c28bc99 100644 --- a/src/components/Embeds/VideoPlayer.tsx +++ b/src/components/Embeds/VideoPlayer.tsx @@ -440,7 +440,6 @@ export const VideoPlayer: React.FC = ({ } } -console.log('tester', startPlay, resourceStatus?.status, src ) return (