mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 19:45:05 +01:00
don't double log redactReaction
This commit is contained in:
parent
e125599a47
commit
1a5a64864a
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user