diff options
author | kegsay <kegan@matrix.org> | 2021-07-27 12:47:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-27 12:47:32 +0100 |
commit | 32538640db6bfbdb890729e8137151ffbbec9a28 (patch) | |
tree | bcd98d8b0d977058492fce03d69f43cc3a41be51 /setup/mscs/msc2836/msc2836_test.go | |
parent | e3679799ea6f6387d36fb1a2f938f8ea9711ad2d (diff) |
Key backups (1/2) : Add E2E session backup metadata tables (#1943)
* Initial key backup paths and userapi API
* Fix unit tests
* Add key backup table
* Glue REST API to database
* Linting
* use writer on sqlite
Diffstat (limited to 'setup/mscs/msc2836/msc2836_test.go')
-rw-r--r-- | setup/mscs/msc2836/msc2836_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/setup/mscs/msc2836/msc2836_test.go b/setup/mscs/msc2836/msc2836_test.go index 79aaebc0..1bbb485c 100644 --- a/setup/mscs/msc2836/msc2836_test.go +++ b/setup/mscs/msc2836/msc2836_test.go @@ -554,6 +554,10 @@ func (u *testUserAPI) QuerySearchProfiles(ctx context.Context, req *userapi.Quer func (u *testUserAPI) QueryOpenIDToken(ctx context.Context, req *userapi.QueryOpenIDTokenRequest, res *userapi.QueryOpenIDTokenResponse) error { return nil } +func (u *testUserAPI) PerformKeyBackup(ctx context.Context, req *userapi.PerformKeyBackupRequest, res *userapi.PerformKeyBackupResponse) { +} +func (u *testUserAPI) QueryKeyBackup(ctx context.Context, req *userapi.QueryKeyBackupRequest, res *userapi.QueryKeyBackupResponse) { +} type testRoomserverAPI struct { // use a trace API as it implements method stubs so we don't need to have them here. |