-
Notifications
You must be signed in to change notification settings - Fork 11.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Usernames are shown instead of real names in reactions #27378
Comments
Is the issue resolved, if not I would like to work on it? |
I asked about the status of reaction name fixes in the community meeting few weeks ago. The issue is complex; Showing real names requires more queries to be made and is considered too expensive (database queries) in the situations where some message has lots of reactions. The usernames in the reactions are written directly into the original message database entry itself, where the message otherwise belongs to original message sender. This one is a security sensitive matter. In situations where the names of people change (marital status change for instance), the real name change needs to be written in all places in the database where it has been implemented as a string attachment to the username. This one is both security as well as load matter. In the past when the reactions still worked without issues using real names, the real names were either written directly into the message bit unsafe and in certain situations costly way, or were just plain resolved with the brutely costly way. Both secure and cost effective method is required to fix the issue and the devs have already tried it without complete success at this. This was not mentioned particularly, but I think the devs might not be willing to let others to work on the issue for above reasons. (Unless the solution takes into account all of its prerequisites.) |
Thanks for the insides @Gummikavalier. I understand the situation, and from your message, I also think that others working on this issue will not be good. So, no problem there. I hope this issue resolves soon, best of luck from my side. If there is some other issue you think I can work on, please let me know. ThankYou |
Thanks for your detailed answer @Gummikavalier. But I have a question. How often, even in very large companies, marital status, gender or real names of chat participants change? |
@banderosss As a load change issue the name change is not that big question in closed systems I admit. Namely the biggest load issues would probably come from individuals in systems that allow changing ones name under profile, and someone would start constantly doing that for griefing purposes. Also such system would need to be very old with a huge message and reaction history. My example was bad for load issues indeed. But from the security point of view it could bite very fast if harder to sanitize character sets of real names were used to write into the other people's messages directly. This is just one security implication example I can think of. You may have to build some kind of placeholder structure for this if you want to support all languages in the world, and then you are again back at the original performance issue by doubling the amount of the queries in all situations. |
Hey there @Gummikavalier, what an amazing explanation up there! I would love to if we can have a chat someday,
Actually the issue is that, at some places, the developers have not considered the names parameter and have not inserted the name of the username in the names array of the reactions, which is leading to unavailability of name for a particular reaction, in addition to this, there is also a mistake that, at one point of code, the INDEX SIGNATURE datatype is miss considered as An Array which lead to obstruct the Use_Real_Name every time and hence, nobody noticed it yet. Now, I have fixed everything that I am talking about, I would be very happy if you can go through the reasoning I gave in the PR @banderosss @SaiRev0 Thanks 😄 |
@henit-chobisa Me humbly bows in front of your reasoning! Thanks! 🙌 @debdutdeb Raising awareness of the devs. Would this work on the issue? |
Hey Toni, I'm aware of this exact issue and Henit's PR. I'm due a discussion with our eng lead (who'll be back tomorrow) on some further points. Atm I'm thinking about going the extra mile and feature complete instead of half-patching. And hopefully Henit will be working on this, together with us. It's gonna take a little while (Henit will keep the community updated I'm sure ;)) - hopefully this isn't a major issue for most and a little delay to feature completion is acceptable. But absolutely we're aware of this and will make sure this gets fixed. Can't promise a timeline, but given how my discussion goes with Diego, we might target 6.0 for this. |
What is the status of this issue? We are having hundreds of angry users after we switched to another LDAP where the usernames are random letters 😉 Btw. I first thought I understand the implications of displaying the name instead of the username but now that I discovered that the mobile RocketChat app for iOS actually displays the real names instead of the usernames when touch-holding the reactions, I am wondering why it's implemented there, but not in the web GUI. Apparently the functionality is already there and works (at least for us) fine, with hundreds of users. |
I can solve this issue assign the issue to me. |
Closing this issue duplicated of: #20841 Questions? Help needed? Feature Requests?
|
Description:
The setting UI_use_real_name is ignored in the desktop app and browser, usernames are always shown for reactions.
In other interface elements real names are displayed.
Steps to reproduce:
Expected behavior:
Real names must be shown.
Actual behavior:
Server Setup Information:
Client Setup Information
The text was updated successfully, but these errors were encountered: