question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Display First Name and Last Name in members list

See original GitHub issue

Describe 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).

https://github.com/conversejs/converse.js/blob/ad4999384d221b41bad6a8ec9e4fe15cadf9ef15/src/headless/converse-vcard.js#L98

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:open
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
deleolajidecommented, Apr 28, 2020

In what way does it become compatible with Prosody? image

The full discussion can found here.

1reaction
deleolajidecommented, Apr 27, 2020

and is therefore also how other adhering clients will order things).

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found