Skip to content

Fixed it so that when performing the search, it correctly fills the u… - #32308

Closed
mstolf wants to merge 1 commit into
nextcloud:masterfrom
mstolf:bugfix/32271/fix-profile-picture-contacts-search
Closed

Fixed it so that when performing the search, it correctly fills the u…#32308
mstolf wants to merge 1 commit into
nextcloud:masterfrom
mstolf:bugfix/32271/fix-profile-picture-contacts-search

Conversation

@mstolf

Copy link
Copy Markdown
Member

Debugging the code, it was possible to identify that the $contacts array did not have the value 'PHOTO' in this way, not setting the avatar and not loading in the contacts search

I'm not sure if the way I made the correction is the best possible, so if it's incorrect this way you can let me know and direct me what would be the best way to make the correction

Fix#32271

@mstolfmstolf self-assigned this May 9, 2022
@mstolfmstolf added bug 3. to review Waiting for reviews labels May 9, 2022
$entry->setFullName($contact['FN']);
}

$avatarPrefix = "VALUE=uri:";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if the two way should be keep. e.g. first try looking if the PHOTO property exists and if not fallback to the UID?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mstolf I left line 323 throw 327 in place and only added 314 throw 318 and its working for me

@szaimenszaimen added this to the Nextcloud 26 milestone Jan 23, 2023
@blizzzblizzz mentioned this pull request Mar 7, 2023
@blizzzblizzz modified the milestones: Nextcloud 26, Nextcloud 27Mar 9, 2023
This was referenced May 3, 2023
@blizzzblizzz mentioned this pull request May 17, 2023
@blizzzblizzz modified the milestones: Nextcloud 27, Nextcloud 28May 23, 2023
@skjnldsvskjnldsv mentioned this pull request Nov 1, 2023
This was referenced Nov 6, 2023
This was referenced Nov 14, 2023
@blizzzblizzz modified the milestones: Nextcloud 28, Nextcloud 29Nov 23, 2023
@skjnldsvskjnldsv removed the 3. to review Waiting for reviews label Feb 24, 2024
@skjnldsv

Copy link
Copy Markdown
Member

Fixed already

@skjnldsvskjnldsv removed this from the Nextcloud 29 milestone Aug 14, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: User profile picture not showing in Nextcloud contacts avatar

6 participants

@mstolf@skjnldsv@CarlSchwan@AndyXheli@blizzz@szaimen