summary refs log tree commit diff
path: root/synapse/rest/admin/users.py
diff options
context:
space:
mode:
authorMathieu Velten <mathieuv@matrix.org>2023-09-04 18:13:28 +0200
committerGitHub <noreply@github.com>2023-09-04 18:13:28 +0200
commitdcb27783417a1161c484525afb839233299b847f (patch)
treebc0833777c5caf4b1a35f644afdb090e05c6de3f /synapse/rest/admin/users.py
parentMerge branch 'master' into develop (diff)
downloadsynapse-dcb27783417a1161c484525afb839233299b847f.tar.xz
Add last_seen_ts to the admin users API (#16218)
Diffstat (limited to 'synapse/rest/admin/users.py')
-rw-r--r--synapse/rest/admin/users.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/rest/admin/users.py b/synapse/rest/admin/users.py
index 625a47ec1a..91898a5c13 100644
--- a/synapse/rest/admin/users.py
+++ b/synapse/rest/admin/users.py
@@ -132,6 +132,7 @@ class UsersRestServletV2(RestServlet):
                 UserSortOrder.AVATAR_URL.value,
                 UserSortOrder.SHADOW_BANNED.value,
                 UserSortOrder.CREATION_TS.value,
+                UserSortOrder.LAST_SEEN_TS.value,
             ),
         )