diff --git a/src/components/Chat/AdminSpaceInner.tsx b/src/components/Chat/AdminSpaceInner.tsx index 15e2459..2264c71 100644 --- a/src/components/Chat/AdminSpaceInner.tsx +++ b/src/components/Chat/AdminSpaceInner.tsx @@ -79,7 +79,7 @@ export const AdminSpaceInner = ({ const res = await fetch( `${getBaseApiReact()}/arbitrary/DOCUMENT_PRIVATE/${ getLatestPublish.name - }/${getLatestPublish.identifier}?encoding=base64` + }/${getLatestPublish.identifier}?encoding=base64&rebuild=true` ); data = await res.text(); diff --git a/src/components/Chat/CreateCommonSecret.tsx b/src/components/Chat/CreateCommonSecret.tsx index 387803d..6e2b5c2 100644 --- a/src/components/Chat/CreateCommonSecret.tsx +++ b/src/components/Chat/CreateCommonSecret.tsx @@ -66,7 +66,7 @@ export const CreateCommonSecret = ({groupId, secretKey, isOwner, myAddress, sec const res = await fetch( `${getBaseApiReact()}/arbitrary/DOCUMENT_PRIVATE/${publish.name}/${ publish.identifier - }?encoding=base64` + }?encoding=base64&rebuild=true` ); const data = await res.text(); diff --git a/src/components/Group/Group.tsx b/src/components/Group/Group.tsx index 0210341..77f8d2e 100644 --- a/src/components/Group/Group.tsx +++ b/src/components/Group/Group.tsx @@ -833,7 +833,7 @@ export const Group = ({ const res = await fetch( `${getBaseApiReact()}/arbitrary/DOCUMENT_PRIVATE/${publish.name}/${ publish.identifier - }?encoding=base64` + }?encoding=base64&rebuild=true` ); data = await res.text(); } diff --git a/src/qortalRequests/get.ts b/src/qortalRequests/get.ts index 39deb0e..eee4c97 100644 --- a/src/qortalRequests/get.ts +++ b/src/qortalRequests/get.ts @@ -3585,7 +3585,7 @@ export const decryptQortalGroupData = async (data, sender) => { if(publish === false) throw new Error('No group key found.') const url = await createEndpoint(`/arbitrary/DOCUMENT_PRIVATE/${publish.name}/${ publish.identifier - }?encoding=base64`); + }?encoding=base64&rebuild=true`); const res = await fetch( url @@ -3616,7 +3616,7 @@ url if(publish === false) throw new Error('No group key found.') const url = await createEndpoint(`/arbitrary/DOCUMENT_PRIVATE/${publish.name}/${ publish.identifier - }?encoding=base64`); + }?encoding=base64&rebuild=true`); const res = await fetch( url @@ -3726,7 +3726,7 @@ export const encryptQortalGroupData = async (data, sender) => { if(publish === false) throw new Error('No group key found.') const url = await createEndpoint(`/arbitrary/DOCUMENT_PRIVATE/${publish.name}/${ publish.identifier - }?encoding=base64`); + }?encoding=base64&rebuild=true`); const res = await fetch( url @@ -3760,7 +3760,7 @@ url if(publish === false) throw new Error('No group key found.') const url = await createEndpoint(`/arbitrary/DOCUMENT_PRIVATE/${publish.name}/${ publish.identifier - }?encoding=base64`); + }?encoding=base64&rebuild=true`); const res = await fetch( url