summary refs log tree commit diff
path: root/docs/modules
diff options
context:
space:
mode:
authorMathieu Velten <mathieuv@matrix.org>2023-04-14 14:12:37 +0200
committerGitHub <noreply@github.com>2023-04-14 14:12:37 +0200
commitdabbb94fafd335966bbdb5bd2187678872731a0d (patch)
treedfe27a9cf71696ca300cdcc53d4560ce1d6b1a71 /docs/modules
parentConvert async to normal tests in `TestSSOHandler` (#15433) (diff)
downloadsynapse-dabbb94fafd335966bbdb5bd2187678872731a0d.tar.xz
Delete pushers after calling on_logged_out module hook on device delete (#15410)
Diffstat (limited to 'docs/modules')
-rw-r--r--docs/modules/password_auth_provider_callbacks.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/modules/password_auth_provider_callbacks.md b/docs/modules/password_auth_provider_callbacks.md
index f6349d5404..8275f7ebdc 100644
--- a/docs/modules/password_auth_provider_callbacks.md
+++ b/docs/modules/password_auth_provider_callbacks.md
@@ -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`