Delete pushers after calling on_logged_out module hook on device delete (#15410)

This commit is contained in:
Mathieu Velten
2023-04-14 14:12:37 +02:00
committed by GitHub
parent de4390cd40
commit dabbb94faf
4 changed files with 58 additions and 3 deletions

View File

@@ -103,6 +103,9 @@ Called during a logout request for a user. It is passed the qualified user ID, t
deactivated device (if any: access tokens are occasionally created without an associated
device ID), and the (now deactivated) access token.
Deleting the related pushers is done after calling `on_logged_out`, so you can rely on them
to still be present.
If multiple modules implement this callback, Synapse runs them all in order.
### `get_username_for_registration`