don't double log redactReaction

This commit is contained in:
Bruno Windels 2021-06-23 17:47:18 +02:00
parent e125599a47
commit 1a5a64864a

View File

@ -171,7 +171,6 @@ export class BaseMessageTile extends SimpleTile {
log.set("ongoing", true);
return;
}
return this.logger.wrapOrRun(log, "redactReaction", async log => {
const entry = await this._entry.getOwnAnnotationEntry(this._timeline, key);
if (entry) {
const updatePromise = new Promise(resolve => this._pendingReactionChangeCallback = resolve);
@ -181,7 +180,6 @@ export class BaseMessageTile extends SimpleTile {
} else {
log.set("no_reaction", true);
}
});
}
_updateReactions() {