As of #8085, resending an old outgoing message causes it to be sorted to the bottom.
I'm wondering whether we should just revert #8085, in order to prevent adding more and more complexity.
Alternatively, we could add a flag is_resending to create_send_msg_jobs() that is checked before resorting. #7854 sets the msg.id to u32::MAX before resending in order to solve the same problem, but that seems hacky to me.
As of #8085, resending an old outgoing message causes it to be sorted to the bottom.
I'm wondering whether we should just revert #8085, in order to prevent adding more and more complexity.
Alternatively, we could add a flag
is_resendingtocreate_send_msg_jobs()that is checked before resorting. #7854 sets the msg.id to u32::MAX before resending in order to solve the same problem, but that seems hacky to me.