I can already see you standing in front of a board. 😉 Anyhow besides my terrible joke I know you can keep the post alive by pressing the + on the bottom right of the screen to keep the post alive, but as far as I know there is no guarantee that it will save it for longer periods. I also think that this can be done as a plugin.
Yeah.. I with you there and can totally understand the point to a streaming forum like nodebb, still we all make mistakes and this would be a nice addition. Would save so much typing 😓
Hey, get ready to be confused @frissdiegurke -- there's a third type of hook, rounding out the behaviours 😆
action hooks are, as @Mega describes, fired when something happens, and NodeBB doesn't care about the response.
filters are fired when plugins might change things. The majority of hooks in NodeBB are filters.
static hooks are fired when you need NodeBB to wait until your plugin is complete in order to do something. There is only one static hook available right now: static:app.load, which is fired on startup.
In this case, since the post is already slated to be deleted, but you want to do something before it is deleted... we may want to consider adding a new hook called static:post.purge.