Move the message to NotDelivered if the subscription of an encrypted chat room fails
Add callbacks to notify the application of chat message early failures and when they are queued because the chat room doesn't have enough information to send the message at that time
Add message queued callback call
Handle chat message storage
Do not automatically store message in database as soon as the object is created because reactions need further configurations
Fix crashes and do not move message to PendingDelivery state when the chatroom is not created yet
Edited by Andrea Gianarda