Display First Name and Last Name in members list
See original GitHub issueDescribe the bug Converse is giving nickname higher priority than fullname when it evaluates the function getDisplayName in vCards. This causes autocompletion lists to always show vCard usernames instead of full-names (first and fast names).
See this bug report for more detail
Solution is to swap postions
getDisplayName () {
return this.get('fullname') || this.get('nickname') || this.get('jid');
}
<bountysource-plugin>
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource. </bountysource-plugin>
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Basic SELECT statement: Display the names using alias ...
Basic SELECT statement: Write a query to display the names (first_name, last_name) using alias name 'First Name', 'Last Name'.
Read more >Display First Name Lastname From Sharepoint Person field
Solved: Hi I have the following person column that's coming from a SharePoint list. The way it works is I have to type...
Read more >MySQL query to display columns name first name, last name ...
MySQL query to display columns name first name, last name as full name in a single column? - For this, use CONCAT() method...
Read more >Solved: Use First Name in Users list - Anaplan Community
You can bring the first name by writing the below logic. {"HI " & IF FIND(".", LEFT(NAME(ITEM(Users)), FIND("@", NAME ...
Read more >trying to list users & display first - last name
... foreach ($users as $user) { $firstName = get_user_meta($user->ID, 'first_name', true); $lastName = get_user_meta($user->ID, 'last_name', ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The full discussion can found here.
Did we get agreement from the server implements too. I am being asked by Prosody to changes this.
Alright. We can leave this as it is and tackle the issue at the auto-complete lists, but my instincts and experience tell me that this will show up again as another issue some time later, somewhere else.
My displayed name should be my full-name from vCards. If not available, then use a nickname before resorting to my JID.