Skip to content

Commit

Permalink
Revert "uploadRoomKeysToBackup: Use V3 route"
Browse files Browse the repository at this point in the history
  • Loading branch information
MidhunSureshR authored Aug 20, 2024
1 parent 952e623 commit a609269
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/matrix/net/HomeServerApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,7 @@ export class HomeServerApi {
return this._get(`/room_keys/keys/${encodeURIComponent(roomId)}/${encodeURIComponent(sessionId)}`, {version}, undefined, options);
}

uploadRoomKeysToBackup(version: string, payload: Record<string, any>, options: BaseRequestOptions = {}): IHomeServerRequest {
options.prefix = CS_V3_PREFIX;
uploadRoomKeysToBackup(version: string, payload: Record<string, any>, options?: BaseRequestOptions): IHomeServerRequest {
return this._put(`/room_keys/keys`, {version}, payload, options);
}

Expand Down

0 comments on commit a609269

Please sign in to comment.