Make account data sytests pass (#1147)

This commit is contained in:
Kegsay 2020-06-17 17:01:03 +01:00 committed by GitHub
parent 9b408c19fb
commit 84a7881468
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -51,7 +51,7 @@ func GetAccountData(
); err == nil { ); err == nil {
return util.JSONResponse{ return util.JSONResponse{
Code: http.StatusOK, Code: http.StatusOK,
JSON: data, JSON: data.Content,
} }
} }

View File

@ -115,6 +115,8 @@ User can invite local user to room with version 1
Should reject keys claiming to belong to a different user Should reject keys claiming to belong to a different user
Can add account data Can add account data
Can add account data to room Can add account data to room
Can get account data without syncing
Can get room account data without syncing
#Latest account data appears in v2 /sync #Latest account data appears in v2 /sync
New account data appears in incremental v2 /sync New account data appears in incremental v2 /sync
Checking local federation server Checking local federation server