Add OLM_OPTIONS global TODO

This commit is contained in:
Robert Long 2022-04-27 13:51:08 -07:00
parent 3d54047f87
commit 7a9ff98550

View file

@ -29,6 +29,7 @@ function waitForSync(client) {
} }
export async function initClient(clientOptions) { export async function initClient(clientOptions) {
// TODO: https://gitlab.matrix.org/matrix-org/olm/-/issues/10
window.OLM_OPTIONS = {}; window.OLM_OPTIONS = {};
await Olm.init({ locateFile: () => olmWasmPath }); await Olm.init({ locateFile: () => olmWasmPath });