diff --git a/src/components/Chat/AdminSpaceInner.tsx b/src/components/Chat/AdminSpaceInner.tsx index fa70120..f469e9e 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 d755c27..2c4df53 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 44bdd68..4e61695 100644 --- a/src/components/Group/Group.tsx +++ b/src/components/Group/Group.tsx @@ -839,7 +839,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 9a4850a..4fc1de7 100644 --- a/src/qortalRequests/get.ts +++ b/src/qortalRequests/get.ts @@ -480,7 +480,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 @@ -514,7 +514,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 @@ -575,7 +575,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 @@ -606,7 +606,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