diff --git a/src/domain/session/room/timeline/ReactionsViewModel.js b/src/domain/session/room/timeline/ReactionsViewModel.js index 5df57089..575c912b 100644 --- a/src/domain/session/room/timeline/ReactionsViewModel.js +++ b/src/domain/session/room/timeline/ReactionsViewModel.js @@ -160,7 +160,8 @@ class ReactionViewModel { } this._isToggling = true; try { - const haveLocalRedaction = this.isPending && this._pendingCount < 0; + // TODO: should some of this go into BaseMessageTile? + const haveLocalRedaction = this.isPending && this._pendingCount <= 0; const havePendingReaction = this.isPending && this._pendingCount > 0; const haveRemoteReaction = this._annotation?.me; const haveReaction = havePendingReaction || (haveRemoteReaction && !haveLocalRedaction);