fix group demo to work with Olm.init()

matthew/js-fixes
Matthew Hodgson 2020-05-16 17:11:54 +01:00
parent 14c1db02fe
commit ddd140b23d
1 changed files with 5 additions and 1 deletions

View File

@ -489,4 +489,8 @@ function startDemo() {
}
document.addEventListener("DOMContentLoaded", startDemo, false);
document.addEventListener("DOMContentLoaded", function() {
Olm.init().then(function() {
startDemo();
});
}, false);