forked from mystiq/hydrogen-web
don't double log redactReaction
This commit is contained in:
parent
e125599a47
commit
1a5a64864a
1 changed files with 0 additions and 2 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue