1
0
mirror of https://github.com/element-hq/element-web.git synced 2025-11-29 21:23:11 +03:00

Add logs and unload listener

This commit is contained in:
Jaiwanth
2021-06-08 12:36:28 +05:30
parent 0f06f1b9c4
commit 9e298e9f45
3 changed files with 25 additions and 4 deletions

View File

@@ -26,8 +26,8 @@ export default abstract class Exporter {
// Clone and reverse the events so that we preserve the order
arrayFastClone(events)
.reverse()
.forEach(event => {
cli.decryptEventIfNeeded(event);
.forEach(async (event) => {
await cli.decryptEventIfNeeded(event);
});
return events;