forked from mystiq/hydrogen-web
this will block if we have a pending redaction & reaction
so the reaction won't be aborted
This commit is contained in:
parent
442d4cce03
commit
a1d24894eb
1 changed files with 0 additions and 5 deletions
|
@ -139,11 +139,6 @@ export class BaseMessageTile extends SimpleTile {
|
|||
|
||||
redactReaction(key, log = null) {
|
||||
return this.logger.wrapOrRun(log, "redactReaction", async log => {
|
||||
const redaction = this._entry.getAnnotationPendingRedaction(key);
|
||||
if (redaction) {
|
||||
log.set("already_redacting", true);
|
||||
return;
|
||||
}
|
||||
const entry = await this._entry.getOwnAnnotationEntry(this._timeline, key);
|
||||
if (entry) {
|
||||
const updatePromise = new Promise(resolve => this._pendingReactionChangeCallback = resolve);
|
||||
|
|
Loading…
Reference in a new issue