Implement deletion of users

This commit is contained in:
eikendev 2020-07-27 00:53:32 +02:00
parent 18d11677ac
commit f6ca287d0b
No known key found for this signature in database
GPG key ID: A1BDB1B28C8EF694
10 changed files with 112 additions and 35 deletions

View file

@ -68,3 +68,8 @@ func (u *User) IntoExternalUser() *ExternalUser {
MatrixID: u.MatrixID,
}
}
// DeleteUser is used to process queries for deleting users.
type DeleteUser struct {
ID uint `uri:"id"`
}