Don't retry sends
This commit is contained in:
@@ -793,15 +793,13 @@ export class Convo {
|
|||||||
|
|
||||||
const {id, message} = pendingMessage
|
const {id, message} = pendingMessage
|
||||||
|
|
||||||
const response = await networkRetry(2, () => {
|
const response = await this.agent.api.chat.bsky.convo.sendMessage(
|
||||||
return this.agent.api.chat.bsky.convo.sendMessage(
|
{
|
||||||
{
|
convoId: this.convoId,
|
||||||
convoId: this.convoId,
|
message,
|
||||||
message,
|
},
|
||||||
},
|
{encoding: 'application/json', headers: DM_SERVICE_HEADERS},
|
||||||
{encoding: 'application/json', headers: DM_SERVICE_HEADERS},
|
)
|
||||||
)
|
|
||||||
})
|
|
||||||
const res = response.data
|
const res = response.data
|
||||||
|
|
||||||
// remove from queue
|
// remove from queue
|
||||||
|
|||||||
Reference in New Issue
Block a user