EventIndex: Add a missing await.

This commit is contained in:
Damir Jelić 2020-05-21 10:10:46 +02:00
parent 39bcd8d56d
commit f802668fff

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);
}
/**