fix group demo to work with Olm.init()

This commit is contained in:
Matthew Hodgson 2020-05-16 17:11:54 +01:00
parent 14c1db02fe
commit ddd140b23d

View file

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