mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-07-23 04:36:52 +00:00
increase timeout
This commit is contained in:
@@ -251,7 +251,7 @@ const sendChatDirect = async ({ chatReference = undefined, messageText, otherDat
|
||||
otherData,
|
||||
publicKeyOfRecipient,
|
||||
address: directTo,
|
||||
})
|
||||
}, 120000)
|
||||
.then(async (response) => {
|
||||
if (!response?.error) {
|
||||
if (isNewChatVar) {
|
||||
@@ -342,7 +342,7 @@ const clearEditorContent = () => {
|
||||
repliedTo
|
||||
}
|
||||
const sendMessageFunc = async () => {
|
||||
await sendChatDirect({ chatReference: undefined, messageText: htmlContent, otherData}, selectedDirect?.address, publicKeyOfRecipient, false)
|
||||
return await sendChatDirect({ chatReference: undefined, messageText: htmlContent, otherData}, selectedDirect?.address, publicKeyOfRecipient, false)
|
||||
};
|
||||
|
||||
|
||||
|
@@ -496,7 +496,7 @@ const sendChatGroup = async ({groupId, typeMessage = undefined, chatReference =
|
||||
typeMessage,
|
||||
chatReference,
|
||||
messageText,
|
||||
})
|
||||
}, 120000)
|
||||
.then((response) => {
|
||||
if (!response?.error) {
|
||||
res(response);
|
||||
@@ -562,7 +562,7 @@ const clearEditorContent = () => {
|
||||
// const res = await sendChatGroup({groupId: selectedGroup,messageText: encryptSingle})
|
||||
|
||||
const sendMessageFunc = async () => {
|
||||
await sendChatGroup({groupId: selectedGroup,messageText: encryptSingle})
|
||||
return await sendChatGroup({groupId: selectedGroup,messageText: encryptSingle})
|
||||
};
|
||||
|
||||
// Add the function to the queue
|
||||
@@ -641,7 +641,7 @@ const clearEditorContent = () => {
|
||||
// const res = await sendChatGroup({groupId: selectedGroup,messageText: encryptSingle})
|
||||
|
||||
const sendMessageFunc = async () => {
|
||||
await sendChatGroup({groupId: selectedGroup,messageText: encryptSingle, chatReference: chatMessage.signature})
|
||||
return await sendChatGroup({groupId: selectedGroup,messageText: encryptSingle, chatReference: chatMessage.signature})
|
||||
};
|
||||
|
||||
// Add the function to the queue
|
||||
|
Reference in New Issue
Block a user