EventIndex: Add a missing await.

pull/21833/head
Damir Jelić 2020-05-21 10:10:46 +02:00
parent 39bcd8d56d
commit f802668fff
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ export default class EventIndex extends EventEmitter {
avatar_url: ev.sender.getMxcAvatarUrl(),
};
indexManager.addEventToIndex(e, profile);
await indexManager.addEventToIndex(e, profile);
}
/**