overtake / TelegramSwift

Source code of Telegram for macos on Swift 5.0
https://macos.telegram.org
GNU General Public License v2.0
4.91k stars 818 forks source link

[Bug] Random profile opens from the context menu of a long press in post comments #1061

Open angl1chanin opened 5 months ago

angl1chanin commented 5 months ago

When you open the list of comments on a post, the users who posted the comments are displayed.

When you go to the user's profile by clicking on the avatar, everything is OK.

But when you hold down the left mouse button on the avatar

Screenshot 2024-01-12 at 15 38 39

after which a context menu pops up from which you can also go to the profile, in some cases this leads to the opening of the profile of a random user from the list of those who left a comment on this post.