Skip to content

Commit

Permalink
Add last_seen_ts to query user example (#17976)
Browse files Browse the repository at this point in the history
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:
https://github.com/element-hq/synapse/blob/4587decd678300217969f1d2f69b226421a33ced/synapse/handlers/admin.py#L150

`last_seen_ts` was introduced in
matrix-org/synapse#16218
  • Loading branch information
turt2live authored Dec 16, 2024
1 parent 8208186 commit 3d60a58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/17976.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add previously-undocumented `last_seen_ts` to query user admin API.
1 change: 1 addition & 0 deletions docs/admin_api/user_admin_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ It returns a JSON body like the following:
"erased": false,
"shadow_banned": 0,
"creation_ts": 1560432506,
"last_seen_ts": 1732919539393,
"appservice_id": null,
"consent_server_notice_sent": null,
"consent_version": null,
Expand Down

0 comments on commit 3d60a58

Please sign in to comment.