Duplicate post send to Nostr when editing SN
Describe the problem you're trying to solve
I m crossposting an article between SN and Nosts.
And i realized if i want to edit the original post on SN ( cause of a mistake , missing items...) in that case a new post will be sendone more time to Nostr.
Describe the solution you'd like
is it possible to avoid to send to Nostr one more time when editing on SN ?
Describe alternatives you've considered
No response
Additional context
No response
is it possible to avoid to send to Nostr one more time when editing on SN ?
Sorry for the bad experience! We have plans to only publish to nostr when the edit timer ran out but we didn't get to it yet.
oki dok thks
Hi @ekzyis, just looking at this. Was wondering if an appropriate approach to this might be scheduling crossposting as a worker job in socialPoster when the item is created, (createdAt + ITEM_EDIT_SECONDS), instead of immediately crossposting after submitting here: https://github.com/stackernews/stacker.news/blob/37d7ed59bba770ca79e20f86318e9a6237d1a0bd/components/use-item-submit.js#L89-L92
I mentioned how I think this should be solved in this comment
I mentioned how I think this should be solved in this comment
ahhh, thanks, I'll read through that convo
I mentioned how I think this should be solved in this comment
Is nostr pre-signing currently available? Seems like that might need to be introduced and storing the posts before we send them out after the edit timer via a worker.
We don't store pre-signed nostr events yet so that would be part of this issue