tdesktop icon indicating copy to clipboard operation
tdesktop copied to clipboard

Invalid number of viewers with reactions

Open PavelDev72 opened this issue 2 years ago • 5 comments

Steps to reproduce

  1. Send any message in small group chat
  2. Wait for some views by other users (at least 2 views)
  3. Wait for emoji reaction from another user (first view with reaction, second view without reaction)
  4. Set your own reaction on your message (one reaction from you, one reaction from another user and one more view from another user without reaction; generally, 3 views and 2 reactions)
  5. View number of views and reactions

Expected behaviour

You should see text "2/3 Reacted" and 3 viewers on right side panel

Actual behaviour

You will see text "2/2 Reacted" and 3 viewers on right side panel

photo_2022-02-12_02-29-40

Operating system

Windows 10

Version of Telegram Desktop

3.5.1 x64

Installation source

Static binary from official website

Logs

No response

PavelDev72 avatar Feb 11 '22 21:02 PavelDev72

But yourself isn't counted and isn't shown in viewers list 🤔 The android app works the same.

john-preston avatar Feb 13 '22 11:02 john-preston

so, not a bug?

Aokromes avatar Feb 13 '22 12:02 Aokromes

It's strange, but the sender is not taken into account in the total number of views, but his reaction is taken into account, and thus another viewer is lost in the total number 🤔

In theory, either the reaction of the author of the message should not be counted, or it should be added to the final number. Accordingly, there should be either "1/2 reactions" or "2/3 reactions"

PavelDev72 avatar Feb 13 '22 13:02 PavelDev72

The problem, which also happens in android, is caused because of that the counter placed on the message bobble, gets updates rarely. here, after clicking on the counter to view accounts that reaction to a message, it queries to the server and gets a fresh update of reaction list; so it cause a contrast with the on-bobble counter and reactions full list.

hessam-kk avatar Feb 20 '22 15:02 hessam-kk

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.

Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

github-actions[bot] avatar Sep 05 '22 02:09 github-actions[bot]