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