diff --git a/clientapi/routing/account_data.go b/clientapi/routing/account_data.go index 875249b3..68e0dc5d 100644 --- a/clientapi/routing/account_data.go +++ b/clientapi/routing/account_data.go @@ -51,7 +51,7 @@ func GetAccountData( ); err == nil { return util.JSONResponse{ Code: http.StatusOK, - JSON: data, + JSON: data.Content, } } diff --git a/sytest-whitelist b/sytest-whitelist index be45b434..971f8cf0 100644 --- a/sytest-whitelist +++ b/sytest-whitelist @@ -115,6 +115,8 @@ User can invite local user to room with version 1 Should reject keys claiming to belong to a different user Can add account data 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 New account data appears in incremental v2 /sync Checking local federation server