Use event handler instead of the sync response
We should use matrix_sdk::Client::register_event_handler()
and matrix_sdk::Client::register_event_handler_context()
instead of passing the sync response to objects that need to be updated based on the sync.
Edited by Kévin Commaille