Don't retry sends

This commit is contained in:
Eric Bailey
2024-05-20 09:08:05 -05:00
parent 52beb29a0d
commit bff1d1779b
+7 -9
View File
@@ -793,15 +793,13 @@ export class Convo {
const {id, message} = pendingMessage
const response = await networkRetry(2, () => {
return this.agent.api.chat.bsky.convo.sendMessage(
{
convoId: this.convoId,
message,
},
{encoding: 'application/json', headers: DM_SERVICE_HEADERS},
)
})
const response = await this.agent.api.chat.bsky.convo.sendMessage(
{
convoId: this.convoId,
message,
},
{encoding: 'application/json', headers: DM_SERVICE_HEADERS},
)
const res = response.data
// remove from queue