Do not call the message_sent callback on core when message is resent after error

Merged Sylvain Berfini requested to merge fix/do_not_notify_message_sent_in_resend into master

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

Merge request reports