Removing your own reaction lowers the reaction count by two

(#1635) Bug Fixed emoji mobile

Observed behaviour

The react count reduces by 2 Note: The react disappears altogether if the react count reaches 0. While intentional, is still a side effect if the actual react count is 1 or higher

Reproduction steps

  1. Find a message with a reaction of which 2 users have reacted the same emoji to (ex: 2 people both reacting 👍). The amount of reacts does not matter as long as it's 2 or more
  2. React with that emoji by tapping on the react
  3. Unreact by tapping on the react

Build information

Beta 54, Version 1.0.0, Android 16 (arm64), Device samsung SM-A176B, Locale en-US, Push fcm, Flutter 3.44.1, Dart 3.12.1

Platform

Android

Details

Expected behaviour The react count should have reduced by 1
  1. Rex changed the status from Needs triage to Fixed

3 comments

Sign in with Fluxer to comment and vote.
Comment by loyka32
loyka32Reviewer 1 vote
Can reproduce Confirmed - Behaviour replicated, the reaction of the other person reappears after you switch channels/dm's. - Beta 2055, Version 1.0.0, Android 16 (arm64), Device samsung SM-F966B, Locale de-DE, Push unifiedpush, Flutter 3.44.1, Dart 3.12.1
Comment by Fullest
FullestReviewer 1 vote
Can reproduce Beta 54, Version 1.0.0, Android 16 (arm64), Device Google Pixel 9a, Locale en-US, Push fcm, Flutter 3.44.1, Dart 3.12.1
Comment by hihi217
Can reproduce CR - Beta 54, Version 1.0.0, Android 10 (arm64), Device samsung SM-N960U1, Locale en-US, Push fcm, Flutter 3.44.1, Dart 3.12.1