After the app is restarted, all the messages that weren't sent fully should be marked as failed so that they can be retried. We wanted to do that but by mistake were using an invalid field to check the condition.
https://linear.app/comm/issue/ENG-10111/local-dm-message-stalls-indefinitely