mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
put detached logs in correct log item
This commit is contained in:
parent
dfede83c0b
commit
dd7bbe89ac
@ -168,7 +168,7 @@ export class BaseRoom extends EventEmitter {
|
|||||||
}
|
}
|
||||||
if (isTimelineOpen && decryption.hasUnverifiedSenders) {
|
if (isTimelineOpen && decryption.hasUnverifiedSenders) {
|
||||||
// verify missing senders async and update timeline once done so we don't delay rendering with network requests
|
// verify missing senders async and update timeline once done so we don't delay rendering with network requests
|
||||||
log.wrapDetached("fetch unknown senders keys", async () => {
|
log.wrapDetached("fetch unknown senders keys", async log => {
|
||||||
const newlyVerifiedDecryption = await decryption.fetchAndVerifyRemainingSenders(this._hsApi, log);
|
const newlyVerifiedDecryption = await decryption.fetchAndVerifyRemainingSenders(this._hsApi, log);
|
||||||
const verifiedEntries = [];
|
const verifiedEntries = [];
|
||||||
newlyVerifiedDecryption.applyToEntries(entries, entry => verifiedEntries.push(entry));
|
newlyVerifiedDecryption.applyToEntries(entries, entry => verifiedEntries.push(entry));
|
||||||
|
Loading…
Reference in New Issue
Block a user