Skip to content

Commit d9dd22a

Browse files
committed
Remove olmLib usage in MatrixClient
1 parent aac83ff commit d9dd22a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/client.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ import { noUnsafeEventProps, QueryDict, replaceParam, safeSet, sleep } from "./u
4646
import { Direction, EventTimeline } from "./models/event-timeline.ts";
4747
import { IActionsObject, PushProcessor } from "./pushprocessor.ts";
4848
import { AutoDiscovery, AutoDiscoveryAction } from "./autodiscovery.ts";
49-
import * as olmlib from "./crypto/olmlib.ts";
5049
import { decodeBase64, encodeBase64, encodeUnpaddedBase64Url } from "./base64.ts";
5150
import { IExportedDevice as IExportedOlmDevice } from "./crypto/OlmDevice.ts";
5251
import { IOlmDevice } from "./crypto/algorithms/megolm.ts";
@@ -10120,7 +10119,7 @@ export class MatrixClient extends TypedEventEmitter<EmittedEvents, ClientEventHa
1012010119
type: EventType.RoomEncryption,
1012110120
state_key: "",
1012210121
content: {
10123-
algorithm: olmlib.MEGOLM_ALGORITHM,
10122+
algorithm: "m.megolm.v1.aes-sha2",
1012410123
},
1012510124
},
1012610125
],

0 commit comments

Comments
 (0)