raiden-network / raiden-libs

Useful tools for Raiden and Auxiliary services
2 stars 12 forks source link

Post sync hook #147

Closed rakanalh closed 5 years ago

rakanalh commented 5 years ago

This function introduces a post-sync hook (Callable) to be provided by users of the MatrixClient so that the hook gets called after every sync. This is added to be able to store "syncToken" as the transport's last updated timestamp to be used later on to define where the sync should start.

This is part of an overall fix in the following PR: https://github.com/raiden-network/raiden/pull/3090