EventIndex: Add a missing await.
This commit is contained in:
parent
39bcd8d56d
commit
f802668fff
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ export default class EventIndex extends EventEmitter {
|
|||
avatar_url: ev.sender.getMxcAvatarUrl(),
|
||||
};
|
||||
|
||||
indexManager.addEventToIndex(e, profile);
|
||||
await indexManager.addEventToIndex(e, profile);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue