Add last_seen_ts to query user example (#17976)

This section could probably do with a lot more editorial attention, but
for now this is all there is in terms of documentation. The field is
already returned by Synapse:
4587decd67/synapse/handlers/admin.py (L150)

`last_seen_ts` was introduced in
https://github.com/matrix-org/synapse/pull/16218
This commit is contained in:
Travis Ralston 2024-12-16 16:12:40 -07:00 committed by GitHub
parent 8208186e3c
commit 3d60a58ad6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

1
changelog.d/17976.doc Normal file
View file

@ -0,0 +1 @@
Add previously-undocumented `last_seen_ts` to query user admin API.

View file

@ -40,6 +40,7 @@ It returns a JSON body like the following:
"erased": false, "erased": false,
"shadow_banned": 0, "shadow_banned": 0,
"creation_ts": 1560432506, "creation_ts": 1560432506,
"last_seen_ts": 1732919539393,
"appservice_id": null, "appservice_id": null,
"consent_server_notice_sent": null, "consent_server_notice_sent": null,
"consent_version": null, "consent_version": null,