1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-20 12:02:22 +03:00

Show whether the user is deactivated on the homeserver in the GraphQL API

Fix #2375
This commit is contained in:
Quentin Gliech
2024-07-12 14:55:24 +02:00
parent bac2db9884
commit fa32387ca5
7 changed files with 33 additions and 2 deletions

View File

@@ -217,6 +217,7 @@ impl HomeserverConnection for SynapseConnection {
Ok(MatrixUser {
displayname: body.display_name,
avatar_url: body.avatar_url,
deactivated: body.deactivated.unwrap_or(false),
})
}