envoyer
envoyer copied to clipboard
Implement update dispatching system
This system would keep track of references to all models in the system and would notify them to update their internal state and update the renders. This way, for example, if for example the "seen" state changes, the database would store the new state and would ask the update dispatching system to fire an update notification for the message concerned. This would then trigger an update in the UI.