Do not call the message_sent callback on core when message is resent after error
As the message_sent callback is often used in apps to add sent message to list of chat room messages without fetching the whole history again, in case of resend after error we no longer call this callback to keep the UI right