Retry a failed publish with the thunk event so it keeps its id
This commit is contained in:
parent
9b0d8a5533
commit
ad630df98f
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@
|
||||||
const retry = (url: string) => {
|
const retry = (url: string) => {
|
||||||
for (const child of $thunks.flatten([thunk])) {
|
for (const child of $thunks.flatten([thunk])) {
|
||||||
if (child.options.relays.includes(url)) {
|
if (child.options.relays.includes(url)) {
|
||||||
const retried = $thunks.publish({...child.options, relays: [url]})
|
const retried = $thunks.publish({...child.options, event: child.event, relays: [url]})
|
||||||
|
|
||||||
if (showToastOnRetry) {
|
if (showToastOnRetry) {
|
||||||
pushToast({
|
pushToast({
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue